Skip to content

Commit af12be4

Browse files
committed
fix typos in py script
There were some typos leftover from a copy paste of the ENCODE processing scripts. This commit fixes the typos in the comment descriptions.
1 parent 3677949 commit af12be4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

paper/SyntheticStrain/scripts/parse_simulation_results.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
import sys
44
import argparse
55

6-
# Python 3 needed for encoding feature for UTF-8
7-
# (ENCODE uses some capital delta chars in summary descriptions of GeneticModifications)
6+
# Python 3
87

98
def getParams():
109
'''Parse parameters from the command line'''
11-
parser = argparse.ArgumentParser(description='Parse metadata file and GenoPipe output to check detection rates of the GenoPipe tool.')
10+
parser = argparse.ArgumentParser(description='Parse StrainID results from simulated data to collect all StrainID scores for each experiment.')
1211
parser.add_argument('-i','--input-dir', metavar='input_dir', required=True, help='the directory where all the StrainID output files were saved (*strain.tab)')
1312
parser.add_argument('-v','--vcf-dir', metavar='vcf_dir', required=True, help='the directory where all the StrainID VCF db files are housed (for header formatting purposes)')
1413
args = parser.parse_args()
@@ -36,11 +35,11 @@ def parse_file(var_file):
3635
continue
3736
dict[tokens[0].split(".")[0]] = tokens[1]
3837
reader.close()
38+
# Return dict of Strain -> score
3939
return(dict)
4040

41-
4241
if __name__ == "__main__":
43-
'''Collect metadata and StrainID results to get detection stats on the cell line ENCODE data'''
42+
'''Collect StrainID results to get detection stats on simulations'''
4443
args = getParams()
4544

4645
# Parse strains to track

0 commit comments

Comments
 (0)