You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/output.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -653,7 +653,7 @@ Each module has it's own output directory which sit alongside the `MultiQC/` dir
653
653
*`samtools/`: this contains two sub-directories. `stats/` contain the raw mapping statistics files (ending in `.stats`) from directly after mapping. `filter/` contains BAM files that have had a mapping quality filter applied (set by the `--bam_mapping_quality_threshold` flag) and a corresponding index file. Furthermore, if you selected `--bam_discard_unmapped`, you will find your separate file with only unmapped reads in the format you selected. Note unmapped read BAM files will _not_ have an index file.
654
654
*`deduplication/`: this contains a sub-directory called `dedup/`, inside here are sample specific directories. Each directory contains a BAM file containing mapped reads but with PCR duplicates removed, a corresponding index file and two stats file. `.hist.` contains raw data for a deduplication histogram used for tools like preseq (see below), and the `.log` contains overall summary deduplication statistics.
655
655
*`endorSpy/`: this contains all JSON files exported from the endorSpy endogenous DNA calculation tool. The JSON files are generated specifically for display in the MultiQC general statistics table and is otherwise very likely not useful for you.
656
-
*`preseq/`: this contains a `.ccurve` file for every BAM file that had enough deduplication statistics to generate a complexity curve for estimating the amount unique reads that will be yield if the library is re-sequenced. You can use this file for plotting e.g. in `R` to find your sequencing target depth.
656
+
*`preseq/`: this contains a `.preseq` file for every BAM file that had enough deduplication statistics to generate a complexity curve for estimating the amount unique reads that will be yield if the library is re-sequenced. You can use this file for plotting e.g. in `R` to find your sequencing target depth.
657
657
*`qualimap/`: this contains a sub-directory for every sample, which includes a qualimap report and associated raw statistic files. You can open the `.html` file in your internet browser to see the in-depth report (this will be more detailed than in MultiQC). This includes stuff like percent coverage, depth coverage, GC content and so on of your mapped reads.
658
658
*`damageprofiler/`: this contains sample specific directories containing raw statistics and damage plots from DamageProfiler. The `.pdf` files can be used to visualise C to T miscoding lesions or read length distributions of your mapped reads. All raw statistics used for the PDF plots are contained in the `.txt` files.
659
659
*`pmdtools/`: this contains raw output statistics of pmdtools (estimates of frequencies of substitutions), and BAM files which have been filtered to remove reads that do not have a Post-mortem damage (PMD) score of `--pmdtools_threshold`.
exit 1, "[nf-core/eager] error: you have turned on bedtools coverage, but not specified a BED or GFF file with --anno_file. Please validate your parameters."
exit 1, "[nf-core/eager] error: you are running preseq with a unsupported mode. See documentation for more information. You gave: ${params.preseq_mode}."
56
+
}
57
+
53
58
// BAM filtering validation
54
59
if (!params.run_bam_filtering && params.bam_mapping_quality_threshold !=0) {
55
60
exit 1, "[nf-core/eager] error: please turn on BAM filtering if you want to perform mapping quality filtering! Provide: --run_bam_filtering."
Copy file name to clipboardExpand all lines: nextflow_schema.json
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -767,12 +767,51 @@
767
767
"description": "Options for calculating library complexity (i.e. how many unique reads are present).",
768
768
"default": "",
769
769
"properties": {
770
+
"preseq_mode": {
771
+
"type": "string",
772
+
"default": "c_curve",
773
+
"description": "Specify which mode of preseq to run.",
774
+
"fa_icon": "fas fa-toggle-on",
775
+
"help_text": "Specify which mode of preseq to run.\n\nFrom the [PreSeq documentation](http://smithlabresearch.org/wp-content/uploads/manual.pdf): \n\n`c curve` is used to compute the expected complexity curve of a mapped read file with a hypergeometric\nformula\n\n`lc extrap` is used to generate the expected yield for theoretical larger experiments and bounds on the\nnumber of distinct reads in the library and the associated confidence intervals, which is computed by\nbootstrapping the observed duplicate counts histogram",
776
+
"enum": [
777
+
"c_curve",
778
+
"lc_extrap"
779
+
]
780
+
},
770
781
"preseq_step_size": {
771
782
"type": "integer",
772
783
"default": 1000,
773
784
"description": "Specify the step size of Preseq.",
774
785
"fa_icon": "fas fa-shoe-prints",
775
786
"help_text": "Can be used to configure the step size of Preseq's `c_curve` method. Can be useful when only few and thus shallow sequencing results are used for extrapolation.\n\n> Modifies preseq c_curve parameter: `-s`"
787
+
},
788
+
"preseq_maxextrap": {
789
+
"type": "integer",
790
+
"default": 10000000000,
791
+
"description": "Specify the maximum extrapolation (lc_extrap mode only)",
792
+
"fa_icon": "fas fa-ban",
793
+
"help_text": "Specify the maximum extrapolation that `lc_extrap` mode will perform.\n\n> Modifies preseq lc_extrap parameter: `-e`"
794
+
},
795
+
"preseq_terms": {
796
+
"type": "integer",
797
+
"default": 100,
798
+
"description": "Specify the maximum number of terms for extrapolation (lc_extrap mode only)",
799
+
"fa_icon": "fas fa-sort-numeric-up-alt",
800
+
"help_text": "Specify the maximum number of terms that `lc_extrap` mode will use.\n\n> Modifies preseq lc_extrap parameter: `-x`"
801
+
},
802
+
"preseq_bootstrap": {
803
+
"type": "integer",
804
+
"default": 100,
805
+
"description": "Specify number of bootstraps to perform (lc_extrap mode only)",
806
+
"fa_icon": "fab fa-bootstrap",
807
+
"help_text": "Specify the number of bootstraps `lc_extrap` mode will perform to calculate confidence intervals.\n\n> Modifies preseq lc_extrap parameter: `-n`"
0 commit comments