Skip to content

Commit

Permalink
Merge branch 'master' into jv
Browse files Browse the repository at this point in the history
  • Loading branch information
josephvitti committed Sep 25, 2017
2 parents 328cade + f27885e commit 8ca562c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/tools/selscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def process_vcf_into_selscan_tped(cls, vcf_file, gen_map_file, outfile_location,
genotypesCount = len(previouslyCodedGenotypes)
countSpecificTpedName = outTpedFile.replace(outfile_prefix, outfile_prefix + "_" + str(genotypesCount))
countSpecificMetafileName = outTpedMetaFile.replace(outfile_prefix, outfile_prefix + "_" + str(genotypesCount))
with util.file.open_or_gzopen(countSpecificTpedName, 'a') as of1l, util.file.open_or_gzopen(countSpecificMetafileName, 'a') as of2l:
with util.file.open_or_gzopen(countSpecificTpedName, 'at') as of1l, util.file.open_or_gzopen(countSpecificMetafileName, 'at') as of2l:
of1l.write(lineToWrite1)
of2l.write(lineToWrite2)

Expand Down

0 comments on commit 8ca562c

Please sign in to comment.