This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Tool To Create Scaffold Fasta File From An Agp And Contig Fasta File?

We have an AGP file and its corresponding fasta file of contigs and we'd like to generate a fasta file of the scaffolds: that is one with the contigs separated by the appropriate number of Ns.

Any pointers?

fasta scaffolding contigs

1 answer

Searching for AGP2fasta returns that perl code: https://github.com/WormBase/wormbase-pipeline/blob/master/for_cvs/agp2fasta.pl

Confirmed to work under Ubuntu with bioperl 1.6.901-2

Note: this script doesn't handle comment lines (those beginning with a '#') but that is easily remedied.

Log in to answer this question.