Hello, I was wondering has anyone else encountered...
# rnaseq
k
Hello, I was wondering has anyone else encountered this problem: I ran the pipeline by providing a custom adapters file to fastp trimmer. Everything works fine, except for the fact that the Salmon quant.sf files are not being saved. My parameters file looks like this
input: /path/to/samplesheet.csv
outdir: /path/
trimmer: "fastp"
extra_fastp_args: "--adapter_fasta /path/to/adapters.fa"
remove_ribo_rna: true
fasta: /path/Homo_sapiens.GRCh38.dna.primary_assembly.fa.gz
gtf: /path/Homo_sapiens.GRCh38.115.gtf.gz
transcript_fasta: /path/genome.transcripts.fa
star_index: /path/index/star
salmon_index: /path/index/salmon
rsem_index: /path/rsem
aligner: "star_salmon"
extra_star_align_args: >
--alignIntronMax 1000000
--alignIntronMin 20
--alignMatesGapMax 1000000
--alignSJoverhangMin 8
--outFilterMismatchNmax 999
--outFilterMultimapNmax 20
--outFilterType BySJout
--outFilterMismatchNoverLmax 0.1
--twopassMode Basic
--quantMode GeneCounts
igenomes_ignore: true
with_umi: true
umitools_extract_method: "regex"
umitools_bc_pattern2: "^(?P<umi_1>.{8})(?P<discard_1>.{6}).*"
umitools_grouping_method: "directional"
skip_bigwig: true
skip_stringtie: true
skip_bbsplit: true
. When I take a look at nextflow log files I can see that Salmon quant function has been completed
NFC…MON_QUANT (sample_name) | 26 of 26 ✔
and
Nov-24 21:21:20.227 [Task monitor] DEBUG n.processor.TaskPollingMonitor - Task completed > TaskHandler[jobId: 2561937; id: 662; name: NFCORE_RNASEQ:RNASEQ:FASTQ_QC_TRIM_FILTER_SETSTRANDEDNESS:FASTQ_SUBSAMPLE_FQ_SALMON:SALMON_QUANT (sample1); status: COMPLETED; exit: 0; error: -; workDir: /path/work/9a/496d17bbaccf31e5df321ca5429586 started: 1795551560221; exited: 2026-11-24T20:20:27.184117863Z; ]
. In the work directory, salmon_quant.log files exist. For example, the last lines of those log files look like
[jointLog] [info
[jointLog] [info] finished quantifyLibrary()
[fileLog] [info]
At end of round 0
==================
Observed 1000000 total fragments (1000000 in most recent round)
. Nevertheless, there are no quant.sf files in work directory, neither in out dir (all of the other outputs are there). Before, whenever I ran the pipeline without specified adapters for the trimmer, just with default settings, the files were saved saemlessly. Does anyone know what is this about?
j
I don’t think you’re running the salmon that’s part of the quantification processing at all, you’re just picking up the one that’s use for strandedness detection (it runs on a tiny subset of reads). I believe you’ve disabled production of the transcriptome-level BAM used for quantification with Salmon by settting ``--quantMode GeneCounts` .
k
That is exactly it! I’ve managed to debug it just 2 minutes ago 😅 Thank you for confirmation!
😆 1