[BioPython] Parsing BLAST

Peter biopython at maubp.freeserve.co.uk
Fri Aug 29 15:04:58 UTC 2008


On Thu, Aug 28, 2008 at 7:51 PM, Alex Garbino <agarbino at gmail.com> wrote:
> Thanks for all the help!
> I'm now almost done. My script is to take a fasta file, run blast, and
> output a comma-separated-values list in the following format:
> AccessionID, Source, Length, FASTA sequence.

FASTA sequence format looks like this:

>name and description
CATACGACTACGTCAACGATCCGAACT
GACTACGATCAGCATCGACTAGCTGTG
GTGTGGT
>name2 and second sequence description
AGCGACAGCGACGAGCAGCGACGAG
AGCGAGC

Its not something you can squeeze into a comma separared file.  I
think you might just mean getting the sequence itself - or have two
files (one CVS, one FASTA).

Peter



More information about the Biopython mailing list