Skip to content

Commit 85dbda0

Browse files
authored
Merge pull request #665 from charles-plessy/patch-5
Document that `skip_collapse` turns on paired-end alignment.
2 parents 01cf3e9 + 1757dd2 commit 85dbda0

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212
- [#666](https://github.com/nf-core/eager/issues/666) - Fixed input file staging for `print_nuclear_contamination`
1313
- [#631](https://github.com/nf-core/eager/issues/631): - Update minimum Nextflow version to 20.07.1, due to unfortunate bug in Nextflow 20.04.1 causing eager to crash if patch pulled
1414
- Made MultiQC crash behaviour stricter when dealing with large datasets, as reported by @ashildv
15+
- Added note to documentation that when using `--skip_collapse` this will use _paired-end_ alignment mode with mappers when using PE data. `
1516

1617
### `Dependencies`
1718

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ of this pipeline:
159159
Those who have provided conceptual guidance, suggestions, bug reports etc.
160160

161161
* Arielle Munters
162+
* [Charles Plessy](https://github.com/charles-plessy)
162163
* [Åshild Vågene](https://github.com/ashildv)
163164
* [Hester van Schalkwyk](https://github.com/hesterjvs)
164165
* [Ido Bar](https://github.com/IdoBar)

nextflow_schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@
472472
},
473473
"skip_collapse": {
474474
"type": "boolean",
475-
"description": "Skip of merging forward and reverse reads together. Only applicable for paired-end libraries.",
475+
"description": "Skip of merging forward and reverse reads together and turns on paired-end alignment for downstream mapping. Only applicable for paired-end libraries.",
476476
"fa_icon": "fas fa-fast-forward",
477-
"help_text": "Turns off the paired-end read merging.\n\nFor example\n\n```bash\n--skip_collapse --input '*_{R1,R2}_*.fastq'\n```\n\nIt is important to use the paired-end wildcard globbing as `--skip_collapse` can only be used on paired-end data!\n\n:warning: If you run this and also with `--clip_readlength` set to something (as is by default), you may end up removing single reads from either the pair1 or pair2 file. These will be NOT be mapped when aligning with either `bwa` or `bowtie`, as both can only accept one (forward) or two (forward and reverse) FASTQs as input.\n\n> Modifies AdapterRemoval parameter: `--collapse`"
477+
"help_text": "Turns off the paired-end read merging.\n\nFor example\n\n```bash\n--skip_collapse --input '*_{R1,R2}_*.fastq'\n```\n\nIt is important to use the paired-end wildcard globbing as `--skip_collapse` can only be used on paired-end data!\n\n:warning: If you run this and also with `--clip_readlength` set to something (as is by default), you may end up removing single reads from either the pair1 or pair2 file. These will be NOT be mapped when aligning with either `bwa` or `bowtie`, as both can only accept one (forward) or two (forward and reverse) FASTQs as input.\n\nAlso note that supplying this flag will also then cause downstream mapping steps to run in paired-end mode. This maybe more suitable for modern data, or when you want to utilise mate-pair spatial information.\n\n> Modifies AdapterRemoval parameter: `--collapse`"
478478
},
479479
"skip_trim": {
480480
"type": "boolean",
@@ -1620,4 +1620,4 @@
16201620
"$ref": "#/definitions/metagenomic_authentication"
16211621
}
16221622
]
1623-
}
1623+
}

0 commit comments

Comments
 (0)