D Grashof
11/17/2023, 12:23 PMstageWiseAdjustment function.
I don't think this is something that is due to my input which I will post below.
Has anybody encountered this problem using this workflow (or stageR individually) before?
Param_file:
{
"fasta": "GRCm39.primary_assembly.genome.fa",
"gtf": "gencode.vM28.primary_assembly.annotation.gtf",
"star_index": "Nextflow/RNAseq_Salmon/results/genome/index/star/",
"salmon_index": "Nextflow/RNAseq_Salmon/results/genome/index/salmon/",
"gencode": true,
"input": "DesignFile_rnasplice_20231106.csv",
"contrasts": ContrastFile_rnasplice_20231106.csv",
"outdir": "Nextflow/rnasplice/results/",
"skip_trimming": true,
"skip_alignment": true,
"rmats": true,
"dexseq_exon": true,
"dexseq_dtu": true,
"min_samps_gene_expr": 2,
"min_samps_feature_expr": 2,
"min_samps_feature_prop": 1,
"min_feature_expr": 10,
"min_feature_prop": 0.2,
"min_gene_expr": 10,
}
Run command
nextflow \
run nf-core/rnasplice \
-r 1.0.1 \
-profile singularity \
--singularity_pull_docker_container \
-name $runname \
-params-file nf-params_rnasplice.json \
-resume
In the designfile I added the following information:
sample,fastq_1,fastq_2,strandedness,condition,genome_bam,transcriptome_bam,salmon_results
Error:
ERROR ~ Error executing process > 'NFCORE_RNASPLICE:RNASPLICE:DRIMSEQ_DEXSEQ_DTU_SALMON:STAGER (1)'
Caused by:
Process `NFCORE_RNASPLICE:RNASPLICE:DRIMSEQ_DEXSEQ_DTU_SALMON:STAGER (1)` terminated with an error exit status (1)
Command executed:
run_stager.R SnrpaKO-Wildtype DEXSeqResults.SnrpaKO-Wildtype.tsv perGeneQValue.SnrpaKO-Wildtype.tsv dexseq
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNASPLICE:RNASPLICE:DRIMSEQ_DEXSEQ_DTU_SALMON:STAGER":
r-base: $(echo $(R --version 2>&1) | sed 's/^.*R version //; s/ .*$//')
bioconductor-stager: $(Rscript -e "library(stageR); cat(as.character(packageVersion('stageR')))")
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, <http://pmax.int|pmax.int>, pmin,
<http://pmin.int|pmin.int>, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which.max, which.min
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Attaching package: 'Biobase'
The following object is masked from 'package:MatrixGenerics':
rowMedians
The following objects are masked from 'package:matrixStats':
anyMissing, rowMedians
Attaching package: 'stageR'
The following object is masked from 'package:methods':
getMethod
Error in FUN(X[[i]], ...) :
Some genes have only one transcript; this is incompatible with DTU correction. Remove these transcripts.
Calls: stageWiseAdjustment ... .local -> .stageWiseTest -> sapply -> lapply -> FUN
Execution halted
INFO: Cleaning up image...
Any help is appreciated!