Thanks @jrrideout!



On Nov 22, 2013, at 10:59 AM, Jai Ram Rideout <notifications@github.com> wrote:

> In qiime/quality_filter_fasta.py:
> 
> > +     (int(final_log_data['seqs_written'])/int(final_log_data['seq_counts']))
> > +    # Handle case of no sequence data
> > +    try:
> > +        formatted_log_data += "Raw min/max/mean sequence lengths:"+\
> > +         "\t%3.2f/%3.2f/%3.2f\n" % (min(seq_length_data['raw']),
> > +         max(seq_length_data['raw']), mean(seq_length_data['raw']))
> > +    except ValueError:
> > +        formatted_log_data += "Raw min/max/mean sequence lengths: NA\n"
> > +    try:
> > +        formatted_log_data += "Processed min/max/mean sequence lengths:"+\
> > +         "\t%3.2f/%3.2f/%3.2f\n\n" % (min(seq_length_data['processed']),
> > +         max(seq_length_data['processed']), mean(seq_length_data['processed']))
> > +    except ValueError:
> > +        formatted_log_data += "Processed min/max/mean sequence lengths: NA\n"
> > +     
> > +    formatted_log_data += "Filters that resulted in discarded reads\n"
> Here's the link:
> 
> http://www.skymind.com/~ocrow/python_string/
> 
> —
> Reply to this email directly or view it on GitHub.
>