agshumate / Liftoff

An accurate GFF3/GTF lift over pipeline
GNU General Public License v3.0
426 stars 51 forks source link

How to use liftoff by inputing an existing sam file generated by minimap2? #106

Closed comery closed 2 years ago

comery commented 2 years ago

Hi,

Thank you for developing this useful tool! I see liftoff requires a target and reference genomes to do minimap alignment first, and then lift the features over from the user's input. I am wondering is there a way to use liftoff by giving it my own alignment results? because I have done two large genome alignments which was a computational consuming process, I don't want to do it again.

Best wishes

agshumate commented 2 years ago

Hi, currently there is no way to provide your own alignments. It is important to note that liftoff will align only the gene sequences to the target genome which is much faster than doing whole genome alignment of two large genomes.

comery commented 2 years ago

Hi, Do you mean that when I give a gff file as input, actually, liftoff will parse gff and extract the gene regions only and then map these regions to the query genome, rather than leftover positions based on a whole-genome alignment?

agshumate commented 2 years ago

yes exactly

comery commented 2 years ago

Thank you for sharing this infomration! now I know why liftoff runs so fast!