details: http://www.bx.psu.edu/hg/galaxy/rev/96f2c4630e62 changeset: 1683:96f2c4630e62 user: wychung date: Fri Dec 19 14:25:43 2008 -0500 description: fix for short read score distribution tool. restore test data. 3 file(s) affected in this change: test-data/454Score.png test-data/solexaScore.png tools/metag_tools/short_reads_figure_score.py diffs (35 lines): diff -r b7aabc2553fc -r 96f2c4630e62 test-data/454Score.png Binary file test-data/454Score.png has changed diff -r b7aabc2553fc -r 96f2c4630e62 test-data/solexaScore.png Binary file test-data/solexaScore.png has changed diff -r b7aabc2553fc -r 96f2c4630e62 tools/metag_tools/short_reads_figure_score.py --- a/tools/metag_tools/short_reads_figure_score.py Fri Dec 19 12:25:52 2008 -0500 +++ b/tools/metag_tools/short_reads_figure_score.py Fri Dec 19 14:25:43 2008 -0500 @@ -62,9 +62,9 @@ return score_points def __main__(): - + invalid_lines = 0 - + infile_score_name = sys.argv[1].strip() outfile_R_name = sys.argv[2].strip() @@ -153,7 +153,6 @@ number_of_points = 20 else: number_of_points = read_length - read_length_threshold = 100 # minimal read length for 454 file score_points = [] score_matrix = [] @@ -180,7 +179,6 @@ big = 0 tmp_array.append( big ) score_points.append( tmp_array ) - elif seq_method == '454': # skip the last fasta sequence score = ''