This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to map contigs to the reference genome and know the start and end position?

Hi experts,

I want to map my assembled contigs to the reference genome and want to know where every mapped contig starts and ends on the reference genome. And after that, I want to plot it to see where on the genome have more contigs so that I can know the enrichment region.

Is there a way to do this?

Thank you very much.

genome sequencing alignment

What do you mean assembled contains? Have you made a genome assembly and do you want to map your genome assembly to a reference genome? If so, you can run blast using your genome assembly as query.

3 answers

I think you could use minimap2 for this.

Thank you. minimap2 is like Bowtie, for reads mapping to reference. I want to map contigs to reference and make a plot like this:

These tools map given nucleotide sequences to a reference, no matter where they come from. The result will be a SAM or BAM file, which contains the respective chromosome, the start position and the length of the aligned sequence. From this, you can filter out the necessary information towards start and end.

The contigs are in FASTA format, and have no quality score to go into FASTQ.

You don't need FASTQ or quality scores for alignment, FASTA would do just fine.

this

this

Log in to answer this question.