Skip to content

Commit

Permalink
updates test files for --help
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Smith committed Mar 6, 2024
1 parent 63d7e21 commit 636381c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 28 deletions.
20 changes: 11 additions & 9 deletions tests/count_help
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ Options:
--mapping-quality=MAPPING_QUALITY
Minimum mapping quality for a read to be retained
[default=0]
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard',
'use' or 'correct' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard', 'use' or 'correct' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard',
'use' or 'correct' [default=use]
--ignore-umi Ignore UMI and dedup only on position
--ignore-tlen Option to dedup paired end reads based solely on
read1, whether or not the template length is the same
Expand All @@ -90,6 +81,17 @@ Options:
-o, --out-sam Output alignments in sam format [default=False]
--no-sort-output Don't Sort the output

Dedup and Count SAM/BAM options:
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard' or
'use' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard' or 'use' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard'or
'use' [default=use]

input/output options:
-I FILE, --stdin=FILE
file to read stdin from [default = stdin].
Expand Down
20 changes: 11 additions & 9 deletions tests/dedup_help
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ Options:
--mapping-quality=MAPPING_QUALITY
Minimum mapping quality for a read to be retained
[default=0]
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard',
'use' or 'correct' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard', 'use' or 'correct' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard',
'use' or 'correct' [default=use]
--ignore-umi Ignore UMI and dedup only on position
--ignore-tlen Option to dedup paired end reads based solely on
read1, whether or not the template length is the same
Expand All @@ -100,6 +91,17 @@ Options:
-o, --out-sam Output alignments in sam format [default=False]
--no-sort-output Don't Sort the output

Dedup and Count SAM/BAM options:
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard' or
'use' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard' or 'use' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard'or
'use' [default=use]

input/output options:
-I FILE, --stdin=FILE
file to read stdin from [default = stdin].
Expand Down
20 changes: 11 additions & 9 deletions tests/group_help
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,6 @@ Options:
--mapping-quality=MAPPING_QUALITY
Minimum mapping quality for a read to be retained
[default=0]
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard',
'use' or 'correct' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard', 'use' or 'correct' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard',
'use' or 'correct' [default=use]
--ignore-umi Ignore UMI and dedup only on position
--ignore-tlen Option to dedup paired end reads based solely on
read1, whether or not the template length is the same
Expand All @@ -103,6 +94,17 @@ Options:
-o, --out-sam Output alignments in sam format [default=False]
--no-sort-output Don't Sort the output

Group SAM/BAM options:
--unmapped-reads=UNMAPPED_READS
How to handle unmapped reads. Options are 'discard',
'use' or 'output' [default=discard]
--chimeric-pairs=CHIMERIC_PAIRS
How to handle chimeric read pairs. Options are
'discard', 'use' or 'output' [default=use]
--unpaired-reads=UNPAIRED_READS
How to handle unpaired reads. Options are 'discard',
'use' or 'output' [default=use]

input/output options:
-I FILE, --stdin=FILE
file to read stdin from [default = stdin].
Expand Down
2 changes: 1 addition & 1 deletion umi_tools/Utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def Start(parser=None,
choices=("discard", "use"),
default="discard",
help=("How to handle unmapped reads. Options are "
"'discard' or 'use'' [default=%default]"))
"'discard' or 'use' [default=%default]"))

group.add_option("--chimeric-pairs", dest="chimeric_pairs",
type="choice",
Expand Down

0 comments on commit 636381c

Please sign in to comment.