@@ -3,10 +3,17 @@ name: nf-core eager CI
33on : [push, pull_request]
44
55jobs :
6+ conda_build :
7+ runs-on : ubuntu-18.04
8+ steps :
9+ - uses : actions/checkout@v1
10+ - name : Try Creating Conda env
11+ run : |
12+ conda env create --prefix nf-core-eager-2.1.0dev-d95a13feb408cc17e95d38f16a81010d --file environment.yml
613 github_actions_ci :
714 runs-on : ubuntu-latest
815 env :
9- TOWER_ACCESS_TOKEN : 1c1f493bc2703472d6f1b9f6fb9e9d117abab7b1
16+ TOWER_ACCESS_TOKEN : ${{ secrets.TOWER_ACCESS_TOKEN }}
1017 NXF_ANSI_LOG : 0
1118 strategy :
1219 matrix :
@@ -21,74 +28,78 @@ jobs:
2128 shell : bash
2229 run : echo "::set-env name=RUN_NAME::`echo ${GITHUB_REPOSITORY//\//_}`-`echo ${GITHUB_HEAD_REF//\//@} | rev | cut -f1 -d@ | rev`-${{ github.event_name }}-`echo ${GITHUB_SHA} | cut -c1-6`"
2330 id : extract_branch
31+ - name : Determine tower usage
32+ shell : bash
33+ run : echo "::set-env name=TOWER::`[ -z "$TOWER_ACCESS_TOKEN" ] && echo '' || echo '-with-tower'`"
34+ id : tower_usage
2435 - name : BASIC Run the basic pipeline with the test profileBasic workflow, PE/SE, bwa aln
2536 run : |
26- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-basic" -profile test,docker ${{ matrix.endedness }} --saveReference
37+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-basic" -profile test,docker ${{ matrix.endedness }} --saveReference
2738 - name : REFERENCE Basic workflow, with supplied indices
2839 run : |
29- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-preindex_ref" -profile test,docker ${{ matrix.endedness }} --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
40+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-preindex_ref" -profile test,docker ${{ matrix.endedness }} --bwa_index results/reference_genome/bwa_index/BWAIndex/Mammoth_MT_Krause.fasta
3041 - name : REFERENCE Run the basic pipeline with FastA reference with `fna` extension
3142 run : |
32- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-fna_ref" -profile test_fna,docker --pairedEnd
43+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-fna_ref" -profile test_fna,docker --pairedEnd
3344 - name : REFERENCE Test with zipped reference input
3445 run : |
35- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-gz_ref" -profile test,docker --pairedEnd --fasta 'https://github.com/jfy133/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.gz'
46+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-gz_ref" -profile test,docker --pairedEnd --fasta 'https://github.com/jfy133/test-datasets/raw/eager/reference/Mammoth/Mammoth_MT_Krause.fasta.gz'
3647 - name : FASTP Test fastp complexity filtering
3748 run : |
38- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-fastp" -profile test,docker --pairedEnd --complexity_filter
49+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-fastp" -profile test,docker --pairedEnd --complexity_filter
3950 - name : ADAPTERREMOVAL Test skip pairedEnd collapsing
4051 run : |
41- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-skip_collapse" -profile test,docker --pairedEnd --skip_collapse
52+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-skip_collapse" -profile test,docker --pairedEnd --skip_collapse
4253 - name : ADAPTERREMOVAL Test pairedEnd collapsing but no trimming
4354 run : |
44- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-pretrim" -profile test_pretrim,docker --pairedEnd --skip_trim
55+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-pretrim" -profile test_pretrim,docker --pairedEnd --skip_trim
4556 - name : ADAPTERREMOVAL Run the basic pipeline with paired end data without adapterRemoval
4657 run : |
47- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-skip_adapterremoval" -profile test,docker --pairedEnd --skip_adapterremoval
58+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-skip_adapterremoval" -profile test,docker --pairedEnd --skip_adapterremoval
4859 - name : ADAPTERREMOVAL Run the basic pipeline with preserve5p end option
4960 run : |
50- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-preserve5p" -profile test,docker --pairedEnd --preserve5p
61+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-preserve5p" -profile test,docker --pairedEnd --preserve5p
5162 - name : ADAPTERREMOVAL Run the basic pipeline with merged only option
5263 run : |
53- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-mergedonly" -profile test,docker --pairedEnd --mergedonly
64+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-mergedonly" -profile test,docker --pairedEnd --mergedonly
5465 - name : ADAPTERREMOVAL Run the basic pipeline with preserve5p end and merged reads only options
5566 run : |
56- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-preserve5p_mergedonly" -profile test,docker --pairedEnd --preserve5p --mergedonly
67+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-preserve5p_mergedonly" -profile test,docker --pairedEnd --preserve5p --mergedonly
5768 - name : MAPPER_CIRCULARMAPPER Test running with CircularMapper
5869 run : |
59- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-circularmapper" -profile test,docker --pairedEnd --mapper 'circularmapper' --circulartarget 'NC_007596.2'
70+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-circularmapper" -profile test,docker --pairedEnd --mapper 'circularmapper' --circulartarget 'NC_007596.2'
6071 - name : MAPPER_BWAMEM Test running with BWA Mem
6172 run : |
62- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-bwa_mem" -profile test,docker --pairedEnd --mapper 'bwamem'
73+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-bwa_mem" -profile test,docker --pairedEnd --mapper 'bwamem'
6374 - name : STRIP_FASTQ Run the basic pipeline with output unmapped reads as fastq
6475 run : |
65- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-stripfastq" -profile test,docker --pairedEnd --strip_input_fastq
76+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-stripfastq" -profile test,docker --pairedEnd --strip_input_fastq
6677 - name : BAM_FILTERING Run basic mapping pipeline with mapping quality filtering, and unmapped export
6778 run : |
68- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-unmapped_export" -profile test,docker --pairedEnd --run_bam_filtering --bam_mapping_quality_threshold 37 --bam_discard_umapped --bam_unmapped_type 'fastq'
79+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-unmapped_export" -profile test,docker --pairedEnd --run_bam_filtering --bam_mapping_quality_threshold 37 --bam_discard_umapped --bam_unmapped_type 'fastq'
6980 - name : GENOTYPING_HC Test running GATK HaplotypeCaller
7081 run : |
71- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-haplotypercaller" -profile test_fna,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'hc' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_hc_emitrefconf 'BP_RESOLUTION'
82+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-haplotypercaller" -profile test_fna,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'hc' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_hc_emitrefconf 'BP_RESOLUTION'
7283 - name : GENOTYPING_FB Test running FreeBayes
7384 run : |
74- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-freebayes" -profile test,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'freebayes'
85+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-freebayes" -profile test,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'freebayes'
7586 - name : SKIPPING Test checking all skip steps work i.e. input bam, skipping straight to genotyping
7687 run : |
77- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-skipping_logic" -profile test_bam,docker --bam --singleEnd --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --skip_preseq --skip_damage_calculation --run_genotyping --genotyping_tool 'freebayes'
88+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-skipping_logic" -profile test_bam,docker --bam --singleEnd --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --skip_preseq --skip_damage_calculation --run_genotyping --genotyping_tool 'freebayes'
7889 - name : TRIM_BAM/PMD/GENOTYPING_UG/MULTIVCFANALYZER Test running PMDTools, TrimBam, GATK UnifiedGenotyper and MultiVCFAnalyzer
7990 run : |
80- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-pmd_trimbam_unifiedgenotyper_multivcfanalyzer" -profile test,docker --pairedEnd --dedupper 'dedup' --run_trim_bam --run_pmdtools --run_genotyping --genotyping_source 'trimmed' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer
91+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-pmd_trimbam_unifiedgenotyper_multivcfanalyzer" -profile test,docker --pairedEnd --dedupper 'dedup' --run_trim_bam --run_pmdtools --run_genotyping --genotyping_source 'trimmed' --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer
8192 - name : GENOTYPING_UG/PMD/MULTIVCFANALYZER Test running GATK UnifiedGenotyper and MultiVCFAnalyzer, additional VCFS
8293 run : |
83- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-multivcfanalyzer_additionalvcfs" -profile test,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/jfy133/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
94+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-multivcfanalyzer_additionalvcfs" -profile test,docker --pairedEnd --dedupper 'dedup' --run_genotyping --genotyping_tool 'ug' --gatk_out_mode 'EMIT_ALL_SITES' --gatk_ug_genotype_model 'SNP' --run_multivcfanalyzer --additional_vcf_files 'https://raw.githubusercontent.com/jfy133/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
8495 - name : BAM_INPUT Run the basic pipeline with the bam input profile, skip AdapterRemoval as no convertBam
8596 run : |
86- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-baminput_noConvertBam" -profile test_bam,docker --bam --skip_adapterremoval --run_convertbam
97+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-baminput_noConvertBam" -profile test_bam,docker --bam --skip_adapterremoval --run_convertbam
8798 - name : BAM_INPUT Run the basic pipeline with the bam input profile, convert to FASTQ for adapterremoval test and downstream
8899 run : |
89- nextflow run ${GITHUB_WORKSPACE} -with-tower -name "$RUN_NAME-baminput_convertbam_basic" -profile test_bam,docker --bam --run_convertbam
100+ nextflow run ${GITHUB_WORKSPACE} "$TOWER" -name "$RUN_NAME-baminput_convertbam_basic" -profile test_bam,docker --bam --run_convertbam
90101 # - name: [DISABLED UNTIL BED FILE AVAILABLE - 2h RUN TIME WITHOUT] - SEXDETERMINAION Run the basic pipeline with the bam input profile, but don't convert BAM, skip everything but sex determination
91- # nextflow run ${GITHUB_WORKSPACE} -with-tower -profile test_humanbam,docker --bam --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --singleEnd --run_sexdeterrmine
102+ # nextflow run ${GITHUB_WORKSPACE} "$TOWER" -profile test_humanbam,docker --bam --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --singleEnd --run_sexdeterrmine
92103 # - name: [DISABLED UNTIL SMALL HUMAN REFERENCE AVALIABLE - REQUIRES HUMAN FASTA] - NUCLEAR INPUT
93- # nextflow run ${GITHUB_WORKSPACE} -with-tower -profile test_humanbam,docker --bam --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --singleEnd --run_nuclearcontamination
104+ # nextflow run ${GITHUB_WORKSPACE} "$TOWER" -profile test_humanbam,docker --bam --skip_fastqc --skip_adapterremoval --skip_mapping --skip_deduplication --skip_qualimap --singleEnd --run_nuclearcontamination
94105
0 commit comments