Mercurial > repos > davidvanzessen > baseline_fasta_generator
diff script_xlsx.py @ 5:048f8cdbb6d2 draft default tip
Uploaded
author | davidvanzessen |
---|---|
date | Thu, 07 Aug 2014 10:19:53 -0400 |
parents | be17e1e7dc2b |
children |
line wrap: on
line diff
--- a/script_xlsx.py Wed Jul 23 10:13:05 2014 -0400 +++ b/script_xlsx.py Thu Aug 07 10:19:53 2014 -0400 @@ -31,7 +31,7 @@ currentSeq = "" currentId = "" with xlrd.open_workbook(args.input, 'r') as wb: - with open(args.output, 'w') as o: + with open(args.output, 'a') as o: for sheet in wb.sheets(): if sheet.cell(1,gene_column).value.find("IGHV") < 0: print "Genes not in column " + LETTERS[gene_column] + ", skipping sheet " + sheet.name