Skip to content

Commit 2ccf4a3

Browse files
authored
Merge pull request #795 from nf-core/test_tsv-to-test
Test tsv to test
2 parents e7a249d + e40892c commit 2ccf4a3

7 files changed

Lines changed: 46 additions & 45 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -62,91 +62,91 @@ jobs:
6262
if [[ $NXF_VER = '' ]]; then sleep 1200; fi
6363
- name: BASIC Run the basic pipeline with directly supplied single-end FASTQ
6464
run: |
65-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --input 'data/testdata/Mammoth/fastq/*_R1_*.fq.gz' --single_end
65+
nextflow run ${GITHUB_WORKSPACE} -profile test_direct,docker --input 'data/testdata/Mammoth/fastq/*_R1_*.fq.gz' --single_end
6666
- name: BASIC Run the basic pipeline with directly supplied paired-end FASTQ
6767
run: |
68-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --input 'data/testdata/Mammoth/fastq/*_{R1,R2}_*tengrand.fq.gz'
68+
nextflow run ${GITHUB_WORKSPACE} -profile test_direct,docker --input 'data/testdata/Mammoth/fastq/*_{R1,R2}_*tengrand.fq.gz'
6969
- name: BASIC Run the basic pipeline with supplied --input BAM
7070
run: |
71-
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --input 'data/testdata/Mammoth/bam/*_R1_*.bam' --bam --single_end
71+
nextflow run ${GITHUB_WORKSPACE} -profile test_direct,docker --input 'data/testdata/Mammoth/bam/*_R1_*.bam' --bam --single_end
7272
- name: BASIC Run the basic pipeline with the test profile with, PE/SE, bwa aln
7373
run: |
74-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --save_reference
74+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --save_reference
7575
- name: REFERENCE Basic workflow, with supplied indices
7676
run: |
77-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --bwa_index 'results/reference_genome/bwa_index/BWAIndex/' --fasta_index 'https://github.com/nf-core/test-datasets/blob/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.fai'
77+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --bwa_index 'results/reference_genome/bwa_index/BWAIndex/' --fasta_index 'https://github.com/nf-core/test-datasets/blob/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.fai'
7878
- name: REFERENCE Run the basic pipeline with FastA reference with `fna` extension
7979
run: |
8080
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_fna,docker
8181
- name: REFERENCE Test with zipped reference input
8282
run: |
83-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --fasta 'https://github.com/nf-core/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.gz'
83+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --fasta 'https://github.com/nf-core/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.gz'
8484
- name: FASTP Test fastp complexity filtering
8585
run: |
86-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --complexity_filter_poly_g
86+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --complexity_filter_poly_g
8787
- name: ADAPTERREMOVAL Test skip paired end collapsing
8888
run: |
89-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --skip_collapse
89+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --skip_collapse
9090
- name: ADAPTERREMOVAL Test paired end collapsing but no trimming
9191
run: |
9292
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_pretrim,docker --skip_trim
9393
- name: ADAPTERREMOVAL Run the basic pipeline with paired end data without adapterRemoval
9494
run: |
95-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --skip_adapterremoval
95+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --skip_adapterremoval
9696
- name: ADAPTERREMOVAL Run the basic pipeline with preserve5p end option
9797
run: |
98-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --preserve5p
98+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --preserve5p
9999
- name: ADAPTERREMOVAL Run the basic pipeline with merged only option
100100
run: |
101-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --mergedonly
101+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --mergedonly
102102
- name: ADAPTERREMOVAL Run the basic pipeline with preserve5p end and merged reads only options
103103
run: |
104-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --preserve5p --mergedonly
104+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --preserve5p --mergedonly
105105
- name: ADAPTER LIST Run the basic pipeline using an adapter list
106106
run: |
107-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --clip_adapters_list 'https://github.com/nf-core/test-datasets/raw/eager/databases/adapters/adapter-list.txt'
107+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --clip_adapters_list 'https://github.com/nf-core/test-datasets/raw/eager/databases/adapters/adapter-list.txt'
108108
- name: ADAPTER LIST Run the basic pipeline using an adapter list, skipping adapter removal
109109
run: |
110-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --clip_adapters_list 'https://github.com/nf-core/test-datasets/raw/eager/databases/adapters/adapter-list.txt' --skip_adapterremoval
110+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --clip_adapters_list 'https://github.com/nf-core/test-datasets/raw/eager/databases/adapters/adapter-list.txt' --skip_adapterremoval
111111
- name: POST_AR_FASTQ_TRIMMING Run the basic pipeline post-adapterremoval FASTQ trimming
112112
run: |
113-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_post_ar_trimming
113+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_post_ar_trimming
114114
- name: POST_AR_FASTQ_TRIMMING Run the basic pipeline post-adapterremoval FASTQ trimming, but skip adapterremoval
115115
run: |
116-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_post_ar_trimming --skip_adapterremoval
116+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_post_ar_trimming --skip_adapterremoval
117117
- name: MAPPER_CIRCULARMAPPER Test running with CircularMapper
118118
run: |
119-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --mapper 'circularmapper' --circulartarget 'NC_007596.2'
119+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --mapper 'circularmapper' --circulartarget 'NC_007596.2'
120120
- name: MAPPER_BWAMEM Test running with BWA Mem
121121
run: |
122-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --mapper 'bwamem'
122+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --mapper 'bwamem'
123123
- name: MAPPER_BT2 Test running with BowTie2
124124
run: |
125-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --mapper 'bowtie2' --bt2_alignmode 'local' --bt2_sensitivity 'sensitive' --bt2n 1 --bt2l 16 --bt2_trim5 1 --bt2_trim3 1
125+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --mapper 'bowtie2' --bt2_alignmode 'local' --bt2_sensitivity 'sensitive' --bt2n 1 --bt2l 16 --bt2_trim5 1 --bt2_trim3 1
126126
- name: HOST_REMOVAL_FASTQ Run the basic pipeline with output unmapped reads as fastq
127127
run: |
128128
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_complex,docker --hostremoval_input_fastq
129129
- name: BAM_FILTERING Run basic mapping pipeline with mapping quality filtering, and unmapped export
130130
run: |
131-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_bam_filtering --bam_mapping_quality_threshold 37 --bam_unmapped_type 'fastq'
131+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_bam_filtering --bam_mapping_quality_threshold 37 --bam_unmapped_type 'fastq'
132132
- name: BAM_FILTERING Run basic mapping pipeline with post-mapping length filtering
133133
run: |
134-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --clip_readlength 0 --run_bam_filtering --bam_filter_minreadlength 50
134+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --clip_readlength 0 --run_bam_filtering --bam_filter_minreadlength 50
135135
- name: PRESEQ Run basic mapping pipeline with different preseq mode
136136
run: |
137-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --preseq_mode 'lc_extrap' --preseq_maxextrap 10000 --preseq_bootstrap 10
137+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --preseq_mode 'lc_extrap' --preseq_maxextrap 10000 --preseq_bootstrap 10
138138
- name: DEDUPLICATION Test with dedup
139139
run: |
140-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --dedupper 'dedup' --dedup_all_merged
140+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --dedupper 'dedup' --dedup_all_merged
141141
- name: BEDTOOLS Test bedtools feature annotation
142142
run: |
143-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_bedtools_coverage --anno_file 'https://github.com/nf-core/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.gff3'
143+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_bedtools_coverage --anno_file 'https://github.com/nf-core/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.gff3'
144144
- name: GENOTYPING_HC Test running GATK HaplotypeCaller
145145
run: |
146146
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_fna,docker --run_genotyping --genotyping_tool 'hc' --gatk_hc_out_mode 'EMIT_ALL_ACTIVE_SITES' --gatk_hc_emitrefconf 'BP_RESOLUTION'
147147
- name: GENOTYPING_FB Test running FreeBayes
148148
run: |
149-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --genotyping_tool 'freebayes'
149+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_genotyping --genotyping_tool 'freebayes'
150150
- name: GENOTYPING_PC Test running pileupCaller
151151
run: |
152152
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_humanbam,docker --run_genotyping --genotyping_tool 'pileupcaller'
@@ -155,25 +155,25 @@ jobs:
155155
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_humanbam,docker --run_genotyping --genotyping_tool 'angsd'
156156
- name: GENOTYPING_BCFTOOLS Test running FreeBayes with bcftools stats turned on
157157
run: |
158-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --genotyping_tool 'freebayes' --run_bcftools_stats
158+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_genotyping --genotyping_tool 'freebayes' --run_bcftools_stats
159159
- name: SKIPPING Test checking all skip steps work i.e. input bam, skipping straight to genotyping
160160
run: |
161161
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_bam,docker --skip_fastqc --skip_adapterremoval --skip_deduplication --skip_qualimap --skip_preseq --skip_damage_calculation --run_genotyping --genotyping_tool 'freebayes'
162162
- name: TRIMBAM Test bamutils works alone
163163
run: |
164-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_trim_bam
164+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_trim_bam
165165
- name: PMDTOOLS Test PMDtools works alone
166166
run: |
167-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_pmdtools
167+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_pmdtools
168168
- name: GENOTYPING_UG AND MULTIVCFANALYZER Test running GATK UnifiedGenotyper and MultiVCFAnalyzer, additional VCFS
169169
run: |
170-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --genotyping_tool 'ug' --gatk_ug_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/vcf/JK2772_CATCAGTGAGTAGA_L008_R1_001.fastq.gz.tengrand.fq.combined.fq.mapped_rmdup.bam.unifiedgenotyper.vcf.gz' --write_allele_frequencies
170+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_genotyping --genotyping_tool 'ug' --gatk_ug_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/vcf/JK2772_CATCAGTGAGTAGA_L008_R1_001.fastq.gz.tengrand.fq.combined.fq.mapped_rmdup.bam.unifiedgenotyper.vcf.gz' --write_allele_frequencies
171171
- name: COMPLEX LANE/LIBRARY MERGING Test running lane and library merging prior to GATK UnifiedGenotyper and running MultiVCFAnalyzer
172172
run: |
173173
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_complex,docker --run_genotyping --genotyping_tool 'ug' --gatk_ug_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer
174174
- name: GENOTYPING_UG ON TRIMMED BAM Test
175175
run: |
176-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_genotyping --run_trim_bam --genotyping_source 'trimmed' --genotyping_tool 'ug' --gatk_ug_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP'
176+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_genotyping --run_trim_bam --genotyping_source 'trimmed' --genotyping_tool 'ug' --gatk_ug_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP'
177177
- name: BAM_INPUT Run the basic pipeline with the bam input profile, skip AdapterRemoval as no convertBam
178178
run: |
179179
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_bam,docker --skip_adapterremoval
@@ -187,17 +187,17 @@ jobs:
187187
for i in index0.idx ref.db ref.idx ref.inf table0.db table0.idx taxonomy.idx taxonomy.map taxonomy.tre; do wget https://github.com/nf-core/test-datasets/raw/eager/databases/malt/"$i" -P databases/malt/; done
188188
- name: METAGENOMIC Run the basic pipeline but with unmapped reads going into MALT
189189
run: |
190-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt/" --malt_sam_output
190+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt/" --malt_sam_output
191191
- name: METAGENOMIC Run the basic pipeline but low-complexity filtered reads going into MALT
192192
run: |
193-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt/" --metagenomic_complexity_filter
193+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt/" --metagenomic_complexity_filter
194194
- name: MALTEXTRACT Download resource files
195195
run: |
196196
mkdir -p databases/maltextract
197197
for i in ncbi.tre ncbi.map; do wget https://github.com/rhuebler/HOPS/raw/0.33/Resources/"$i" -P databases/maltextract/; done
198198
- name: MALTEXTRACT Basic with MALT plus MaltExtract
199199
run: |
200-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt" --run_maltextract --maltextract_ncbifiles "/home/runner/work/eager/eager/databases/maltextract/" --maltextract_taxon_list 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/maltextract/MaltExtract_list.txt'
200+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_bam_filtering --bam_unmapped_type 'fastq' --run_metagenomic_screening --metagenomic_tool 'malt' --database "/home/runner/work/eager/eager/databases/malt" --run_maltextract --maltextract_ncbifiles "/home/runner/work/eager/eager/databases/maltextract/" --maltextract_taxon_list 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/maltextract/MaltExtract_list.txt'
201201
- name: METAGENOMIC Run the basic pipeline but with unmapped reads going into Kraken
202202
run: |
203203
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_kraken,docker --run_bam_filtering --bam_unmapped_type 'fastq'
@@ -212,4 +212,4 @@ jobs:
212212
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv_humanbam,docker --skip_fastqc --skip_adapterremoval --skip_deduplication --skip_qualimap --skip_preseq --skip_damage_calculation --run_mtnucratio
213213
- name: RESCALING Run basic pipeline with basic pipeline but with mapDamage rescaling of BAM files. Note this will be slow
214214
run: |
215-
nextflow run ${GITHUB_WORKSPACE} -profile test_tsv,docker --run_mapdamage_rescaling --run_genotyping --genotyping_tool hc --genotyping_source 'rescaled'
215+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --run_mapdamage_rescaling --run_genotyping --genotyping_tool hc --genotyping_source 'rescaled'

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525
- Fixed issue where MultiVCFAnalyzer would not pick up newly generated VCF files, when specifying additional VCF files.
2626
- [#790](https://github.com/nf-core/eager/issues/790) Fixed kraken2 report file-name collision when sample names have `.` in them
2727
- [#792](https://github.com/nf-core/eager/issues/792) Fixed java error messages for AdapterRemovalFixPrefix being hidden in output
28+
- [#794](https://github.com/nf-core/eager/issues/794) Aligned default test profile with nf-core standards (`test_tsv` is now `test`)
2829

2930
### `Dependencies`
3031

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool
3535
3. Download the pipeline and test it on a minimal dataset with a single command:
3636

3737
```bash
38-
nextflow run nf-core/eager -profile test_tsv,<docker/singularity/podman/shifter/charliecloud/conda/institute>
38+
nextflow run nf-core/eager -profile test,<docker/singularity/podman/shifter/charliecloud/conda/institute>
3939
```
4040

4141
> Please check [nf-core/configs](https://github.com/nf-core/configs#documentation) to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use `-profile <institute>` in your command. This will enable either `docker` or `singularity` and set the appropriate execution settings for your local compute environment.

conf/test.config

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
* -------------------------------------------------
55
* Defines bundled input files and everything required
66
* to run a fast and simple test. Use as follows:
7-
* nextflow run nf-core/eager -profile test,<docker/singularity>
7+
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
88
*/
99

1010
includeConfig 'test_resources.config'
1111

12-
1312
params {
1413
config_profile_name = 'Test profile'
1514
config_profile_description = 'Minimal test dataset to check pipeline function'
@@ -19,9 +18,7 @@ params {
1918
max_time = 48.h
2019
genome = false
2120
//Input data
22-
single_end = false
21+
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq.tsv'
2322
// Genome references
2423
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
25-
// Ignore `--input` as otherwise the parameter validation will throw an error
26-
schema_ignore_params = 'genomes,input_paths,input'
2724
}

0 commit comments

Comments
 (0)