Mercurial > repos > nick > allele_counts_1
diff allele-counts.py @ 7:34892857567b
Ready for release - script
| author | nick |
|---|---|
| date | Mon, 03 Jun 2013 23:49:47 -0400 |
| parents | f6d9742c1da0 |
| children | db6f217dc45a |
line wrap: on
line diff
--- a/allele-counts.py Thu May 30 13:49:37 2013 -0400 +++ b/allele-counts.py Mon Jun 03 23:49:47 2013 -0400 @@ -202,7 +202,7 @@ try: variant_counts[variant] = int(float(reads)) except ValueError, e: - continue + fail("Error in input VCF: Variant count not a valid number. Failed on variant count string '"+reads+"'\nIn the following line:\n"+line) sample_counts[sample_names[i]] = variant_counts
