Skip to content

Commit 1c6012e

Browse files
committed
[skip ci] Changes from local review
1 parent f7d078c commit 1c6012e

File tree

5 files changed

+21
-23
lines changed

5 files changed

+21
-23
lines changed

conf/modules.config

-2
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,13 @@ process {
165165
ext.args = '--record-count 1000000 --seed 1'
166166
ext.prefix = { "${meta.id}.subsampled" }
167167
publishDir = [
168-
mode: params.publish_dir_mode,
169168
enabled: false
170169
]
171170
}
172171

173172
withName: '.*:FASTQ_SUBSAMPLE_FQ_SALMON:SALMON_QUANT' {
174173
ext.args = '--skipQuant'
175174
publishDir = [
176-
mode: params.publish_dir_mode,
177175
enabled: false
178176
]
179177
}

docs/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Notes:
200200

201201
### GTF filtering
202202

203-
By default, the input GTF file will be filtered to ensure that sequence names correspond to those in the genome, and to remove rows with empty transcript identifiers. Filtering can be bypassed completely where you are confident it is not necessary, using the `--skip_gtf_filter` flag. The transcript identifer filter can be disabled specifically using `skip_gtf_transcript_filter`.
203+
By default, the input GTF file will be filtered to ensure that sequence names correspond to those in the genome fasta file, and to remove rows with empty transcript identifiers. Filtering can be bypassed completely where you are confident it is not necessary, using the `--skip_gtf_filter` parameter. If you just want to skip the 'transcript_id' checking component of the GTF filtering script used in the pipeline this can be disabled specifically using the `--skip_gtf_transcript_filter` parameter.
204204

205205
## Running the pipeline
206206

modules/local/gtf_filter/main.nf

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ process GTF_FILTER {
1111
path gtf
1212

1313
output:
14-
path "*.filtered.gtf" , emit: genome_gtf
15-
path "versions.yml" , emit: versions
14+
path "*.filtered.gtf", emit: genome_gtf
15+
path "versions.yml" , emit: versions
1616

1717
when:
1818
task.ext.when == null || task.ext.when
1919

20-
script: // filter_gtf_for_genes_in_genome.py is bundled with the pipeline, in nf-core/rnaseq/bin/
20+
script: // filter_gtf.py is bundled with the pipeline, in nf-core/rnaseq/bin/
2121
"""
2222
filter_gtf.py \\
2323
--gtf $gtf \\

nextflow_schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
"type": "boolean",
9090
"fa_icon": "fas fa-forward",
9191
"description": "Skip filtering of GTF for valid scaffolds and/ or transcript IDs.",
92-
"help_text": "If you're confident on the validity of the GTF with respect to the genome file, or wish to disregard failures thriggered by the filtering module, activate this option."
92+
"help_text": "If you're confident on the validity of the GTF with respect to the genome fasta file, or wish to disregard failures thriggered by the filtering module, activate this option."
9393
},
9494
"skip_gtf_transcript_filter": {
9595
"type": "boolean",
9696
"fa_icon": "fas fa-forward",
97-
"description": "Skip just the transcript_id check of GTF filtering."
97+
"description": "Skip the 'transcript_id' checking component of the GTF filtering script used in the pipeline."
9898
},
9999
"gene_bed": {
100100
"type": "string",

subworkflows/local/prepare_genome/main.nf

+15-15
Original file line numberDiff line numberDiff line change
@@ -310,20 +310,20 @@ workflow PREPARE_GENOME {
310310
}
311311

312312
emit:
313-
fasta = ch_fasta // channel: path(genome.fasta)
314-
gtf = ch_gtf // channel: path(genome.gtf)
315-
filtered_gtf = ch_filtered_gtf // channel: path(genome.gtf)
316-
fai = ch_fai // channel: path(genome.fai)
317-
gene_bed = ch_gene_bed // channel: path(gene.bed)
318-
transcript_fasta = ch_transcript_fasta // channel: path(transcript.fasta)
319-
chrom_sizes = ch_chrom_sizes // channel: path(genome.sizes)
320-
splicesites = ch_splicesites // channel: path(genome.splicesites.txt)
321-
bbsplit_index = ch_bbsplit_index // channel: path(bbsplit/index/)
322-
star_index = ch_star_index // channel: path(star/index/)
323-
rsem_index = ch_rsem_index // channel: path(rsem/index/)
324-
hisat2_index = ch_hisat2_index // channel: path(hisat2/index/)
325-
salmon_index = ch_salmon_index // channel: path(salmon/index/)
326-
kallisto_index = ch_kallisto_index // channel: [ meta, path(kallisto/index/) ]
313+
fasta = ch_fasta // channel: path(genome.fasta)
314+
gtf = ch_gtf // channel: path(genome.gtf)
315+
filtered_gtf = ch_filtered_gtf // channel: path(genome.gtf)
316+
fai = ch_fai // channel: path(genome.fai)
317+
gene_bed = ch_gene_bed // channel: path(gene.bed)
318+
transcript_fasta = ch_transcript_fasta // channel: path(transcript.fasta)
319+
chrom_sizes = ch_chrom_sizes // channel: path(genome.sizes)
320+
splicesites = ch_splicesites // channel: path(genome.splicesites.txt)
321+
bbsplit_index = ch_bbsplit_index // channel: path(bbsplit/index/)
322+
star_index = ch_star_index // channel: path(star/index/)
323+
rsem_index = ch_rsem_index // channel: path(rsem/index/)
324+
hisat2_index = ch_hisat2_index // channel: path(hisat2/index/)
325+
salmon_index = ch_salmon_index // channel: path(salmon/index/)
326+
kallisto_index = ch_kallisto_index // channel: [ meta, path(kallisto/index/) ]
327327

328-
versions = ch_versions.ifEmpty(null) // channel: [ versions.yml ]
328+
versions = ch_versions.ifEmpty(null) // channel: [ versions.yml ]
329329
}

0 commit comments

Comments
 (0)