By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,235 Members | 1,008 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,235 IT Pros & Developers. It's quick & easy.

Fasta file

P: 5
Planning to Write a script that reads a Fasta-formatted file and writes the number of sequences in it, followed by the accessions of the sequences. For example, if the input is

>Pig
ACGT
>Dog
AGTG
>Bunny
TATA
then the output should be
3
Pig
Dog
Bunny

I started:

from Bio import SeqIO
Input_file=(filename."r")

then?

any idea?thanks in advance..
Nov 15 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.