[Bioperl-l] How to write a Bio::DB:Fasta sequence into a file?

Peng Yu pengyu.ut at gmail.com
Thu Nov 27 03:03:54 UTC 2008


Hi,

It shows in the tutorial, that I can use the following command to
write a gene into a file.

$seq_object = get_sequence('swiss',"ROA1_HUMAN");
write_sequence(">roa1.fasta",'fasta',$seq_object);

I'm wondering how to write a gene (id is available) of Bio::DB:Fasta
into a file.

Thanks,
Peng



More information about the Bioperl-l mailing list