Skip to content

Commit

Permalink
improvements to adapter related help text
Browse files Browse the repository at this point in the history
  • Loading branch information
MikkelSchubert committed Sep 9, 2024
1 parent 5ac93a8 commit 637ad4f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/userconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,18 +648,20 @@ userconfig::userconfig()
argparser.add_header("PROCESSING:");

argparser.add("--adapter1", "SEQ")
.help("Adapter sequence expected to be found in mate 1 reads")
.help("Adapter sequence expected to be found in mate 1 reads. Any 'N' in "
"this sequence is treated as a wildcard")
.bind_str(&adapter_1)
.with_default("AGATCGGAAGAGCACACGTCTGAACTCCAGTCA");
argparser.add("--adapter2", "SEQ")
.help("Adapter sequence expected to be found in mate 2 reads")
.help("Adapter sequence expected to be found in mate 2 reads. Any 'N' in "
"this sequence is treated as a wildcard")
.bind_str(&adapter_2)
.with_default("AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGT");
argparser.add("--adapter-list", "FILE")
.help("Read table of white-space separated adapters pairs, used as if the "
"first column was supplied to --adapter1, and the second column was "
"supplied to --adapter2; only the first adapter in each pair is "
"required single-end trimming")
.help("Read adapter pairs from the first two columns of a white-space "
"separated table. AdapterRemoval will then select the best matching "
"adapter pair for each pair of input reads when trimming. Only the "
"first column is required for single-end trimming")
.conflicts_with("--adapter1")
.conflicts_with("--adapter2")
.bind_str(&adapter_list);
Expand Down

0 comments on commit 637ad4f

Please sign in to comment.