|
| 1 | +/* |
| 2 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | + Nextflow config file for running minimal tests |
| 4 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 5 | + Defines input files and everything required to run a fast and simple pipeline test. |
| 6 | + |
| 7 | + Use as follows: |
| 8 | + nextflow run . -profile test,<docker/singularity> --outdir <OUTDIR> |
| 9 | + |
| 10 | +---------------------------------------------------------------------------------------- |
| 11 | +*/ |
| 12 | + |
| 13 | +params { |
| 14 | + config_profile_name = 'Test profile' |
| 15 | + config_profile_description = 'Minimal test dataset to check pipeline function' |
| 16 | + config_profile_url = "https://github.com/number-25/LongTranscriptomics/blob/dev/conf/test.config" |
| 17 | + |
| 18 | + // Limit resources so that this can run on GitHub Actions |
| 19 | + max_cpus = 2 |
| 20 | + max_memory = '6.GB' |
| 21 | + max_time = '12.h' |
| 22 | + |
| 23 | + // Input data |
| 24 | + input = 'test/samplesheets/samplesheet_test_dRNA.csv' |
| 25 | + sequencing_type = "ont-drna" // sequencing molecule [ont-drna OR ont-cdna] |
| 26 | + bam_input = false |
| 27 | + // Genome references |
| 28 | + // These channel names have to match those in the full workflow also |
| 29 | + genome_fasta = "assets/test_data/KCMF1_hg38.fa" |
| 30 | + genome_fasta_index = "assets/test_data/KCMF1_hg38.fa.fai" |
| 31 | + genome_fasta_sizes = "assets/test_data/KCMF1_hg38.fa.sizes" |
| 32 | + genome_minimap2_index = "assets/test_data/KCMF1_hg38_k14.mmi" |
| 33 | + transcriptome_fasta = "assets/test_data/KCMF1_hg38_transcript.fa" |
| 34 | + transcriptome_minimap2_index = "assets/test_data/KCMF1_hg38_transcript_k14.mmi" |
| 35 | + annotation_gtf = "assets/test_data/KCMF1_hg38_transcript.gtf" |
| 36 | + skip_prepare_reference = true |
| 37 | + //annotation_gtf = "https://raw.githubusercontent.com/nf-core/test-datasets/nanoseq/reference/chr22_1-17500000.gtf" |
| 38 | + //genome_fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/nanoseq/reference/chr22_1-17550000.fa' |
| 39 | + //input_path = 'https://github.com/nf-core/test-datasets/blob/nanoseq/fastq/demultiplexed/quantification/bambu/MCF7_directRNA_replicate4.fastq.gz' |
| 40 | + // Skip processes for test |
| 41 | + // Give any required params for the test so that command line flags are not needed |
| 42 | + skip_mapping = false |
| 43 | + skip_bam_to_bigwig = false |
| 44 | + skip_qc = false |
| 45 | + skip_bam_qc = false |
| 46 | + skip_nanoq = false |
| 47 | + skip_sequali = false |
| 48 | + skip_alfred = false |
| 49 | + skip_cramino = false |
| 50 | + skip_samtools_flagstat = false |
| 51 | + skip_ngs_bits = true |
| 52 | + ngs_bits_skip_contamination = true // default: [false] |
| 53 | + ngs_bits_build = 'hg38' // options: [hg38, hg19, non_human] |
| 54 | + cramino_min_length = 0 // minimum re |
| 55 | + skip_jaccard = true |
| 56 | + skip_flair = true |
| 57 | + skip_flair_correct = true |
| 58 | + skip_flair_collapse = true |
| 59 | + extra_flair_collapse_options = null |
| 60 | + skip_bambu = true |
| 61 | + skip_isoquant = true |
| 62 | + skip_isoquant_correction = true |
| 63 | + extra_isoquant_options = null |
| 64 | + skip_stringtie = false |
| 65 | + extra_stringtie_options = null |
| 66 | + skip_jaffal = true |
| 67 | + skip_jaffal_download = true |
| 68 | + // TRANSCRIPT QUANTIFICATION |
| 69 | + skip_transcript_quantification = false |
| 70 | + skip_oarfish = false |
| 71 | + skip_sqanti_all = true |
| 72 | + skip_gffcompare = false |
| 73 | + extra_gffcompare_options = null |
| 74 | + skip_sqanti_qc = true |
| 75 | + sqanti_qc_reference = 'human' |
| 76 | + sqanti_qc_cage = true |
| 77 | + sqanti_qc_cage_path = null |
| 78 | + sqanti_qc_polyA_sites = true |
| 79 | + sqanti_qc_polyA_sites_path = null |
| 80 | + sqanti_qc_polyA_motif = true |
| 81 | + sqanti_qc_polyA_motif_path = null |
| 82 | + sqanti_qc_intron_junctions = true |
| 83 | + sqanti_qc_intron_path = null |
| 84 | + extra_sqanti_qc_options = null |
| 85 | + help = true |
| 86 | +} |
| 87 | + |
| 88 | +validation { |
| 89 | + help { |
| 90 | + enabled = true |
| 91 | + beforeText = "Welcome to LongTranscriptomics, I see you are seeking help." |
| 92 | + afterText = "Farewell, hopefully this was helpful. Please cite the pipeline owners when using this pipeline." |
| 93 | + command = "nextflow run . -profile <profile> --outdir <outdir>" |
| 94 | + } |
| 95 | +} |
| 96 | + |
| 97 | +includeConfig "../modules/local/isoquant/isoquant/test_nextflow.config" |
| 98 | +includeConfig "../modules/local/gffcompare/gffcompare/nextflow.config" |
| 99 | +includeConfig "../modules/local/nanoq/nanoq/nextflow.config" |
| 100 | +includeConfig "../modules/local/sequali/sequali/nextflow.config" |
| 101 | +includeConfig "../modules/local/minimap2/align/nextflow.config" |
| 102 | +includeConfig "../modules/local/samtools/sort/nextflow.config" |
| 103 | +includeConfig "../modules/local/samtools/index/nextflow.config" |
| 104 | +includeConfig "../modules/local/bedtools/bam_to_bedgraph/nextflow.config" |
| 105 | +includeConfig "../modules/local/bedtools/bam_to_bedgraph/nextflow.config" |
| 106 | +includeConfig "../modules/local/ucsc/bedgraphtobigwig/nextflow.config" |
| 107 | +includeConfig "../modules/local/ucsc/bedclip/nextflow.config" |
| 108 | +includeConfig "../modules/local/alfred/qc/nextflow.config" |
| 109 | +includeConfig "../modules/local/alfred/transpose/nextflow.config" |
| 110 | +includeConfig "../modules/local/cramino/cramino/nextflow.config" |
| 111 | +includeConfig "../modules/local/ngsbits/mapping_qc/nextflow.config" |
| 112 | +includeConfig "../modules/local/samtools/flagstat/nextflow.config" |
| 113 | +includeConfig "../modules/local/flair/bam_to_bed12/nextflow.config" |
| 114 | +includeConfig "../modules/local/flair/correct/nextflow.config" |
| 115 | +includeConfig "../modules/local/flair/collapse/nextflow.config" |
| 116 | +includeConfig "../modules/local/bambu/bambu/nextflow.config" |
| 117 | +includeConfig "../modules/local/isoquant/isoquant/nextflow.config" |
| 118 | +includeConfig "../modules/local/stringtie/stringtie/nextflow.config" |
| 119 | +includeConfig "../modules/local/gffread/gffread/nextflow.config" |
| 120 | +includeConfig "../modules/local/jaffal/bpipe/nextflow.config" |
| 121 | +includeConfig "../modules/local/oarfish/raw_read/nextflow.config" |
| 122 | +includeConfig "../modules/local/bedtools/jaccard/nextflow.config" |
| 123 | +includeConfig "../modules/local/gffcompare/gffcompare/nextflow.config" |
| 124 | +includeConfig "../modules/local/curl/curl/nextflow.config" |
| 125 | +includeConfig "../modules/local/minimap2/index/nextflow.config" |
| 126 | +includeConfig "../modules/local/unzip/unzip/nextflow.config" |
| 127 | +includeConfig "../modules/nf-core/gunzip/nextflow.config" |
| 128 | +includeConfig "../modules/nf-core/custom/getchromsizes/nextflow.config" |
| 129 | +includeConfig "../modules/local/isoquant/gtf2db/nextflow.config" |
0 commit comments