Closed CrazyHsu closed 11 months ago
@pinin4fjords Hi, Manning. Can you help me figure out what's the problem I'm facing? Any help would be highly appreciated! Thanks.
The string converting counts to integer mode
tells me that the matrix read correctly. So the error is coming from https://github.com/nf-core/differentialabundance/blob/a3d664c12c4050bae2acc83b1c636dcc3546b9a5/modules/nf-core/deseq2/differential/templates/deseq_de.R#L347.
Since count matrix and gene length matrix are read in the exact same way, this suggests that your gene length matrix has different composition to the counts matrix in terms of identifiers. Please check that your gene lengths file has the same values in its first two columns (gene_id, gene_name) as the count matrix.
Hi @pinin4fjords, thanks for your quick reply. I have specify the --transcript_length_matrix
with star_salmon/salmon.merged.gene_lengths.tsv
intead of star_salmon/salmon.merged.transcript_lengths.tsv
, and everything goes well. Thank you! :smile:
Description of the bug
Hello, My experimental design expects to find DEGs between different treatments within two tissues by using
nf-core/differentialabundance
pipeline. But I get some errors with command:nextflow run nf-core/differentialabundance -r 1.4.0 --input samplesheet.csv --contrasts sample_contrast_file.csv --matrix star_salmon/salmon.merged.gene_counts.tsv --transcript_length_matrix star_salmon/salmon.merged.transcript_lengths.tsv --gtf Zea_mays.gtf --outdir deg_analysis -profile rnaseq,docker
. How can I fix it out? Thanks!A snapshot the error follows as below, and a full .nextflow.log is attached in Relevant files section:
salmon.merged.gene_counts.tsv
generated usingnf-core/rnaseq
pipeline follows as below:Command used and terminal output
Relevant files
A full .nextflow.log is attached here. nextflow.log
System information
No response