Check out the Scriptome (yes, this is an advertisement.) at 
http://sysbio.harvard.edu/csb/resources/computational/scriptome/ , which is a 
set of Perl one-liners you cut and paste onto your command line to do bio-y 
text-y thigns.

Use the change_fasta_to_tab tool to change your fasta to a tab-delimited file 
with ID, description, sequence. Then use the calc_col_length tool on the 
result, which will add another column giving the length of the sequence column. 
You can throw that into excel and hide the sequence column (or use 
choose_cols_to_delete to make a file without the seqeuences themselves) and 
then read through it at your leisure.

Feel free to contact me offline for details.

-Amir Karger

> -----Original Message-----
> From: [email protected] [mailto:bbb-
> [email protected]] On Behalf Of Pankaj Khurana
> Sent: Wednesday, May 05, 2010 5:16 AM
> To: [email protected]
> Subject: [BiO BB] program for sequence length
> 
> Hi all,
> 
> I have a few 1000 fasta files. I would like to get the list showing
> the
> sequence name and their respective lengths.
> Is there a program for this?
> I can write one but why reinvent the wheel.
> Thanking all in advance
> 
> Regards,
> Pankaj
> _______________________________________________
> BBB mailing list
> [email protected]
> http://www.bioinformatics.org/mailman/listinfo/bbb

_______________________________________________
BBB mailing list
[email protected]
http://www.bioinformatics.org/mailman/listinfo/bbb

Reply via email to