Tool To Create Scaffold Fasta File From An Agp And Contig Fasta File?
1
0
Entering edit mode
11.0 years ago

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 • 6.4k views
ADD COMMENT
0
Entering edit mode
11.0 years ago

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

ADD COMMENT
0
Entering edit mode

This looks like a winner; thanks!

ADD REPLY
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 2966 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6