This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to align a genome fasta file from NCBI to a reference genome?

Hi,

I want to align a genome published on NCBI (scaffold level) to a reference genome (chromosome level). I though bwa mem could work, but it is stuck, running for too long without any error message. Do you know any software that could do this? Also, I would like to call SNPs after the alignment.

Thanks!

genome genetics alignment

mummer is probably a better option for large pairwise alignments.

Please use a long read aligner like minimap2 or better still lastz (LINK) which is designed for chromosome sized pieces.

I agree either mummer or minimap2 are good choices (don't know lastz). But as an aside, if the ploidy of the organism is anything but haploid you will lose a lot of variants that are lost when collapsing into a haploid reference sequence. It might be worth trying to find the original short or long read data they used to assembly the genome to call SNPs. They should be available in most bioproject accessions.

hii can u pls tell me the file formats of the scaffold and chromosome level genomes please I'm also working on genome assemblies and I want to align a contig to a chromosome reference thanks

What's the purpose of aligning the contig to the chromosome reference? May change the tools that are suggested.

1 answer

There is a version of a CUDA graphic accelerated version of lastz named SegAlign

Log in to answer this question.