|
10 | 10 | - [Running the pipeline](#running-the-pipeline) |
11 | 11 | - [Updating the pipeline](#updating-the-pipeline) |
12 | 12 | - [Mandatory Arguments](#mandatory-arguments) |
| 13 | + - [`-profile`](#-profile) |
| 14 | + - [`--input`](#--input) |
| 15 | + - [Direct Input Method](#direct-input-method) |
| 16 | + - [TSV Input Method](#tsv-input-method) |
| 17 | + - [`--bam`](#--bam) |
| 18 | + - [`--single_stranded`](#--single_stranded) |
| 19 | + - [`--colour_chemistry`](#--colour_chemistry) |
| 20 | + - [`--fasta`](#--fasta) |
| 21 | + - [`--genome` (using iGenomes)](#--genome-using-igenomes) |
13 | 22 | - [Output Directories](#output-directories) |
| 23 | + - [`--outdir`](#--outdir) |
| 24 | + - [`-w / -work-dir`](#-w---work-dir) |
14 | 25 | - [Optional Reference Options](#optional-reference-options) |
| 26 | + - [`--large_ref`](#--large_ref) |
| 27 | + - [`--save_reference`](#--save_reference) |
| 28 | + - [`--bwa_index`](#--bwa_index) |
| 29 | + - [`--seq_dict`](#--seq_dict) |
| 30 | + - [`--fasta_index`](#--fasta_index) |
15 | 31 | - [Other run specific parameters](#other-run-specific-parameters) |
| 32 | + - [`-r`](#-r) |
| 33 | + - [`--max_memory`](#--max_memory) |
| 34 | + - [`--max_time`](#--max_time) |
| 35 | + - [`--max_cpus`](#--max_cpus) |
| 36 | + - [`--email`](#--email) |
| 37 | + - [`--plaintext_email`](#--plaintext_email) |
| 38 | + - [`-name`](#-name) |
| 39 | + - [`-resume`](#-resume) |
| 40 | + - [`-c`](#-c) |
| 41 | + - [`--monochrome_logs`](#--monochrome_logs) |
| 42 | + - [`--multiqc_config`](#--multiqc_config) |
| 43 | + - [`--custom_config_version`](#--custom_config_version) |
16 | 44 | - [Adjustable parameters for nf-core/eager](#adjustable-parameters-for-nf-coreeager) |
17 | 45 | - [Step skipping parameters](#step-skipping-parameters) |
| 46 | + - [`--skip_fastqc`](#--skip_fastqc) |
| 47 | + - [`--skip_adapterremoval`](#--skip_adapterremoval) |
| 48 | + - [`--skip_preseq`](#--skip_preseq) |
| 49 | + - [`--skip_deduplication`](#--skip_deduplication) |
| 50 | + - [`--skip_damage_calculation`](#--skip_damage_calculation) |
| 51 | + - [`--skip_qualimap`](#--skip_qualimap) |
18 | 52 | - [BAM Conversion Options](#bam-conversion-options) |
| 53 | + - [`--run_convertinputbam`](#--run_convertinputbam) |
19 | 54 | - [Complexity Filtering Options](#complexity-filtering-options) |
| 55 | + - [`--complexity_filter_poly_g`](#--complexity_filter_poly_g) |
| 56 | + - [`--complexity_filter_poly_g_min`](#--complexity_filter_poly_g_min) |
20 | 57 | - [Adapter Clipping and Merging Options](#adapter-clipping-and-merging-options) |
| 58 | + - [`--clip_forward_adaptor`](#--clip_forward_adaptor) |
| 59 | + - [`--clip_reverse_adaptor`](#--clip_reverse_adaptor) |
| 60 | + - [`--clip_readlength`](#--clip_readlength) |
| 61 | + - [`--clip_min_read_quality`](#--clip_min_read_quality) |
| 62 | + - [`--clip_min_adap_overlap`](#--clip_min_adap_overlap) |
| 63 | + - [`--skip_collapse`](#--skip_collapse) |
| 64 | + - [`--skip_trim`](#--skip_trim) |
| 65 | + - [`--preserve5p`](#--preserve5p) |
| 66 | + - [`--mergedonly`](#--mergedonly) |
21 | 67 | - [Read Mapping Parameters](#read-mapping-parameters) |
22 | | - - [Mapped Reads Stripping](#mapped-reads-stripping) |
| 68 | + - [`--mapper`](#--mapper) |
| 69 | + - [BWA (default)](#bwa-default) |
| 70 | + - [`--bwaalnn`](#--bwaalnn) |
| 71 | + - [`--bwaalnk`](#--bwaalnk) |
| 72 | + - [`--bwaalnl`](#--bwaalnl) |
| 73 | + - [CircularMapper](#circularmapper) |
| 74 | + - [`--circularextension`](#--circularextension) |
| 75 | + - [`--circulartarget`](#--circulartarget) |
| 76 | + - [`--circularfilter`](#--circularfilter) |
| 77 | + - [Bowtie2](#bowtie2) |
| 78 | + - [`--bt2_alignmode`](#--bt2_alignmode) |
| 79 | + - [`--bt2_sensitivity`](#--bt2_sensitivity) |
| 80 | + - [`--bt2n`](#--bt2n) |
| 81 | + - [`--bt2l`](#--bt2l) |
| 82 | + - [`-bt2_trim5`](#-bt2_trim5) |
| 83 | + - [`-bt2_trim3`](#-bt2_trim3) |
| 84 | + - [Mapped Reads Host Removal](#mapped-reads-host-removal) |
| 85 | + - [`--hostremoval_input_fastq`](#--hostremoval_input_fastq) |
| 86 | + - [`--hostremoval_mode`](#--hostremoval_mode) |
23 | 87 | - [Read Filtering and Conversion Parameters](#read-filtering-and-conversion-parameters) |
| 88 | + - [`--run_bam_filtering`](#--run_bam_filtering) |
| 89 | + - [`--bam_unmapped_type`](#--bam_unmapped_type) |
| 90 | + - [`--bam_mapping_quality_threshold`](#--bam_mapping_quality_threshold) |
| 91 | + - [`bam_filter_minreadlength`](#bam_filter_minreadlength) |
24 | 92 | - [Read DeDuplication Parameters](#read-deduplication-parameters) |
| 93 | + - [`--dedupper`](#--dedupper) |
| 94 | + - [`--dedup_all_merged`](#--dedup_all_merged) |
25 | 95 | - [Library Complexity Estimation Parameters](#library-complexity-estimation-parameters) |
| 96 | + - [`--preseq_step_size`](#--preseq_step_size) |
26 | 97 | - [DNA Damage Assessment Parameters](#dna-damage-assessment-parameters) |
| 98 | + - [`--udg_type`](#--udg_type) |
| 99 | + - [`--damageprofiler_length`](#--damageprofiler_length) |
| 100 | + - [`--damageprofiler_threshold`](#--damageprofiler_threshold) |
| 101 | + - [`--damageprofiler_yaxis`](#--damageprofiler_yaxis) |
| 102 | + - [`--run_pmdtools`](#--run_pmdtools) |
| 103 | + - [`--pmdtools_range`](#--pmdtools_range) |
| 104 | + - [`--pmdtools_threshold`](#--pmdtools_threshold) |
| 105 | + - [`--pmdtools_reference_mask`](#--pmdtools_reference_mask) |
| 106 | + - [`--pmdtools_max_reads`](#--pmdtools_max_reads) |
27 | 107 | - [BAM Trimming Parameters](#bam-trimming-parameters) |
| 108 | + - [`--run_trim_bam`](#--run_trim_bam) |
| 109 | + - [`--bamutils_clip_half_udg_left` / `--bamutils_clip_half_udg_right`](#--bamutils_clip_half_udg_left----bamutils_clip_half_udg_right) |
| 110 | + - [`--bamutils_clip_none_udg_left` / `--bamutils_clip_none_udg_right`](#--bamutils_clip_none_udg_left----bamutils_clip_none_udg_right) |
| 111 | + - [`--bamutils_softclip`](#--bamutils_softclip) |
28 | 112 | - [Captured Library Parameters](#captured-library-parameters) |
| 113 | + - [`--snpcapture` false](#--snpcapture-false) |
| 114 | + - [`--bedfile`](#--bedfile) |
29 | 115 | - [Feature Annotation Statistics](#feature-annotation-statistics) |
| 116 | + - [`--run_bedtools_coverage`](#--run_bedtools_coverage) |
| 117 | + - [`--anno_file`](#--anno_file) |
30 | 118 | - [Genotyping Parameters](#genotyping-parameters) |
| 119 | + - [`--run_genotyping`](#--run_genotyping) |
| 120 | + - [`--genotyping_tool`](#--genotyping_tool) |
| 121 | + - [`--genotyping_source`](#--genotyping_source) |
| 122 | + - [`--gatk_ug_jar`](#--gatk_ug_jar) |
| 123 | + - [`--gatk_call_conf`](#--gatk_call_conf) |
| 124 | + - [`--gatk_ploidy`](#--gatk_ploidy) |
| 125 | + - [`--gatk_dbsnp`](#--gatk_dbsnp) |
| 126 | + - [`--gatk_ug_out_mode`](#--gatk_ug_out_mode) |
| 127 | + - [`--gatk_hc_out_mode`](#--gatk_hc_out_mode) |
| 128 | + - [`--gatk_ug_genotype_model`](#--gatk_ug_genotype_model) |
| 129 | + - [`--gatk_hc_emitrefconf`](#--gatk_hc_emitrefconf) |
| 130 | + - [`--gatk_ug_keep_realign_bam`](#--gatk_ug_keep_realign_bam) |
| 131 | + - [`--gatk_downsample`](#--gatk_downsample) |
| 132 | + - [`--gatk_ug_gatk_ug_defaultbasequalities`](#--gatk_ug_gatk_ug_defaultbasequalities) |
| 133 | + - [`--freebayes_C`](#--freebayes_c) |
| 134 | + - [`--freebayes_g`](#--freebayes_g) |
| 135 | + - [`--freebayes_p`](#--freebayes_p) |
| 136 | + - [`--pileupcaller_bedfile`](#--pileupcaller_bedfile) |
| 137 | + - [`--pileupcaller_snpfile`](#--pileupcaller_snpfile) |
| 138 | + - [`--pileupcaller_method`](#--pileupcaller_method) |
| 139 | + - [`--angsd_glmodel`](#--angsd_glmodel) |
| 140 | + - [`--angsd_glformat`](#--angsd_glformat) |
| 141 | + - [`--angsd_createfasta`](#--angsd_createfasta) |
| 142 | + - [`--angsd_fastamethod`](#--angsd_fastamethod) |
| 143 | + - [`--pileupcaller_transitions_mode`](#--pileupcaller_transitions_mode) |
31 | 144 | - [Consensus Sequence Generation](#consensus-sequence-generation) |
| 145 | + - [`--run_vcf2genome`](#--run_vcf2genome) |
| 146 | + - [`--vcf2genome_outfile`](#--vcf2genome_outfile) |
| 147 | + - [`--vcf2genome_header`](#--vcf2genome_header) |
| 148 | + - [`--vcf2genome_minc`](#--vcf2genome_minc) |
| 149 | + - [`--vcf2genome_minq`](#--vcf2genome_minq) |
| 150 | + - [`--vcf2genome_minfreq`](#--vcf2genome_minfreq) |
32 | 151 | - [Mitochondrial to Nuclear Ratio](#mitochondrial-to-nuclear-ratio) |
| 152 | + - [`--run_mtnucratio`](#--run_mtnucratio) |
| 153 | + - [`--mtnucratio_header`](#--mtnucratio_header) |
33 | 154 | - [SNP Table Generation](#snp-table-generation) |
| 155 | + - [`--run_multivcfanalyzer`](#--run_multivcfanalyzer) |
| 156 | + - [`--write_allele_frequencies`](#--write_allele_frequencies) |
| 157 | + - [`--min_genotype_quality`](#--min_genotype_quality) |
| 158 | + - [`--min_base_coverage`](#--min_base_coverage) |
| 159 | + - [`--min_allele_freq_hom`](#--min_allele_freq_hom) |
| 160 | + - [`--min_allele_freq_het`](#--min_allele_freq_het) |
| 161 | + - [`--additional_vcf_files`](#--additional_vcf_files) |
| 162 | + - [`--reference_gff_annotations`](#--reference_gff_annotations) |
| 163 | + - [`--reference_gff_exclude`](#--reference_gff_exclude) |
| 164 | + - [`--snp_eff_results`](#--snp_eff_results) |
34 | 165 | - [Human Sex Determination](#human-sex-determination) |
| 166 | + - [`--run_sexdeterrmine`](#--run_sexdeterrmine) |
| 167 | + - [`--sexdeterrmine_bedfile`](#--sexdeterrmine_bedfile) |
35 | 168 | - [Human Nuclear Contamination](#human-nuclear-contamination) |
| 169 | + - [`--run_nuclear_contamination`](#--run_nuclear_contamination) |
| 170 | + - [`--contamination_chrom_name`](#--contamination_chrom_name) |
36 | 171 | - [Metagenomic Screening](#metagenomic-screening) |
| 172 | + - [`--run_metagenomic_screening`](#--run_metagenomic_screening) |
| 173 | + - [`--metagenomic_tool`](#--metagenomic_tool) |
| 174 | + - [`--metagenomic_min_support_reads`](#--metagenomic_min_support_reads) |
| 175 | + - [`--database`](#--database) |
| 176 | + - [`--percent_identity`](#--percent_identity) |
| 177 | + - [`--malt_mode`](#--malt_mode) |
| 178 | + - [`--malt_alignment_mode`](#--malt_alignment_mode) |
| 179 | + - [`--malt_top_percent`](#--malt_top_percent) |
| 180 | + - [`--malt_min_support_mode`](#--malt_min_support_mode) |
| 181 | + - [`--malt_min_support_percent`](#--malt_min_support_percent) |
| 182 | + - [`--malt_max_queries`](#--malt_max_queries) |
| 183 | + - [`--malt_memory_mode`](#--malt_memory_mode) |
| 184 | + - [`--run_maltextract`](#--run_maltextract) |
| 185 | + - [`--maltextract_taxon_list`](#--maltextract_taxon_list) |
| 186 | + - [`--maltextract_ncbifiles`](#--maltextract_ncbifiles) |
| 187 | + - [`--maltextract_filter`](#--maltextract_filter) |
| 188 | + - [`--maltextract_toppercent`](#--maltextract_toppercent) |
| 189 | + - [`--maltextract_destackingoff`](#--maltextract_destackingoff) |
| 190 | + - [`--maltextract_downsamplingoff`](#--maltextract_downsamplingoff) |
| 191 | + - [`--maltextract_duplicateremovaloff`](#--maltextract_duplicateremovaloff) |
| 192 | + - [`--maltextract_matches`](#--maltextract_matches) |
| 193 | + - [`--maltextract_megansummary`](#--maltextract_megansummary) |
| 194 | + - [`--maltextract_percentidentity`](#--maltextract_percentidentity) |
| 195 | + - [`maltextract_topalignment`](#maltextract_topalignment) |
37 | 196 | - [Clean up](#clean-up) |
38 | 197 |
|
39 | 198 | ## General Nextflow info |
@@ -669,23 +828,23 @@ Number of bases to trim of 5' (left) end of read prior alignment. Maybe useful w |
669 | 828 |
|
670 | 829 | Number of bases to trim of 3' (right) end of read prior alignment. Maybe useful when left-over sequencing artefacts of in-line barcodes present Default: 0. |
671 | 830 |
|
672 | | -### Mapped Reads Stripping |
| 831 | +### Mapped Reads Host Removal |
673 | 832 |
|
674 | 833 | These parameters are used for removing mapped reads from the original input FASTQ files, usually in the context of uploading the original FASTQ files to a public read archive (NCBI SRA/EBI ENA). |
675 | 834 |
|
676 | 835 | These flags will produce FASTQ files almost identical to your input files, except that reads with the same read ID as one found in the mapped bam file, are either removed or 'masked' (every base replaced with Ns). |
677 | 836 |
|
678 | 837 | This functionality allows you to provide other researchers who wish to re-use your data to apply their own adapter removal/read merging procedures, while maintaining anonyminity for sample donors - for example with microbiome research. |
679 | 838 |
|
680 | | -If using TSV input, stripping is performed library, i.e. after lane merging. |
| 839 | +If using TSV input, mapped read removal is performed library, i.e. after lane merging. |
681 | 840 |
|
682 | | -#### `--strip_input_fastq` |
| 841 | +#### `--hostremoval_input_fastq` |
683 | 842 |
|
684 | 843 | Create pre-Adapter Removal FASTQ files without reads that mapped to reference (e.g. for public upload of privacy sensitive non-host data) |
685 | 844 |
|
686 | | -#### `--strip_mode` |
| 845 | +#### `--hostremoval_mode` |
687 | 846 |
|
688 | | -Read removal mode. Strip mapped reads completely (`'strip'`) or just replace mapped reads sequence by N (`'replace'`) |
| 847 | +Read removal mode. Completely remove mapped reads from the file(s) (`'remove'`) or just replace mapped reads sequence by N (`'replace'`) |
689 | 848 |
|
690 | 849 | ### Read Filtering and Conversion Parameters |
691 | 850 |
|
|
0 commit comments