Hi,
Is there a straightforward way to convert PAF to GFF format?
Sorry. You have to write a converter by yourself. minimap2 won't support GFF output.
For future googlers,
An option to convert spliced alignments from SAM/BAM to gff/gtf:
minimap2 -ax splice --cs target.fa query.fa | samtools sort -O BAM - > alignments.bam
bedtools bamtobed -bed12 -i alignments.bam > alignments.bed
bedToGenePred alignments.bed alignments.genepred
genePredToGtf "file" alignments.genepred alignments.gtf
genePredToGtf has additional options that might be useful in specific use cases.
Most helpful comment
For future googlers,
An option to convert spliced alignments from SAM/BAM to gff/gtf:
minimap2 -ax splice --cs target.fa query.fa | samtools sort -O BAM - > alignments.bambedtools bamtobed -bed12 -i alignments.bam > alignments.bedbedToGenePred alignments.bed alignments.genepredgenePredToGtf "file" alignments.genepred alignments.gtfgenePredToGtfhas additional options that might be useful in specific use cases.