-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue using corncob and metagenomeseq #63
Comments
Thanks @bdpessem Can you share a little bit about your data? i.e. number of samples and class distribution? cc @yangchen2 |
Yes, |
I am also having the same issue with metagenomeseq, a similar problem with corncob (), and an extra problem with songbird (the songbird log is empty in my case). This is my corncob log:
Execution halted |
Hi @mossheadd, can you share some details about your biom table size and metadata file? |
HI @yangchen2 my biom file has viral orthologs, 27474 rows and 24 columns that are sample IDs. My metadata file contains sample IDs and medium type, sediment and water. |
@mossheadd Can you also share your add dataset command? |
@yangchen2 below is my add dataset command |
I encountered an issue when running qadabra, it has to do with two of the tools that are used by qadabra; corncob and metagenomeseq. I checked both log files (see underneath), but it was not clear to me if the error has to do with my input files and how to resolve?
Tue Feb 13 15:11:19 2024]
Error in rule metagenomeseq:
jobid: 15
input: /Users/bpessemier/my_qadabra3/data/metaphlan4species_readstats_transposed.biom, /Users/bpessemier/my_qadabra3/data/metadata_Psoriasis.tsv
output: results/skin_microbiome/tools/metagenomeseq/differentials.tsv, results/skin_microbiome/tools/metagenomeseq/results.rds
log: log/skin_microbiome/metagenomeseq.log (check log file(s) for error details)
conda-env: /Users/bpessemier/my_qadabra3/.snakemake/conda/656a891cb8f6dd51f64ad50a1c6b0f26_
RuleException:
CalledProcessError in file /Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/site-packages/qadabra/workflow/rules/diffab.smk, line 131:
Command 'source /Users/bpessemier/anaconda3/envs/qadabra_env/bin/activate '/Users/bpessemier/my_qadabra3/.snakemake/conda/656a891cb8f6dd51f64ad50a1c6b0f26_'; set -euo pipefail; Rscript --vanilla /Users/bpessemier/my_qadabra3/.snakemake/scripts/tmpyrssflqd.metagenomeseq.R' returned non-zero exit status 1.
File "/Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/site-packages/qadabra/workflow/rules/diffab.smk", line 131, in rule_metagenomeseq
File "/Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/concurrent/futures/thread.py", line 58, in run
[Tue Feb 13 15:11:39 2024]
Finished job 7.
25 of 163 steps (15%) done
[Tue Feb 13 15:12:05 2024]
Error in rule corncob:
jobid: 17
input: /Users/bpessemier/my_qadabra3/data/metaphlan4species_readstats_transposed.biom, /Users/bpessemier/my_qadabra3/data/metadata_Psoriasis.tsv
output: results/skin_microbiome/tools/corncob/differentials.tsv, results/skin_microbiome/tools/corncob/results.rds
log: log/skin_microbiome/corncob.log (check log file(s) for error details)
conda-env: /Users/bpessemier/my_qadabra3/.snakemake/conda/656a891cb8f6dd51f64ad50a1c6b0f26
RuleException:
CalledProcessError in file /Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/site-packages/qadabra/workflow/rules/diffab.smk, line 147:
Command 'source /Users/bpessemier/anaconda3/envs/qadabra_env/bin/activate '/Users/bpessemier/my_qadabra3/.snakemake/conda/656a891cb8f6dd51f64ad50a1c6b0f26'; set -euo pipefail; Rscript --vanilla /Users/bpessemier/my_qadabra3/.snakemake/scripts/tmpfdrzbei1.corncob.R' returned non-zero exit status 1.
File "/Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/site-packages/qadabra/workflow/rules/diffab.smk", line 147, in __rule_corncob
File "/Users/bpessemier/anaconda3/envs/qadabra_env/lib/python3.9/concurrent/futures/thread.py", line 58, in run
Removing output files of failed job corncob since they might be corrupted:
results/skin_microbiome/tools/corncob/results.rds
[Tue Feb 13 15:13:08 2024]
Finished job 9.
26 of 163 steps (16%) done
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2024-02-13T150501.551322.snakemake.log
This was the log output of corncob;
[1] "Loading table..."
[1] "Loading metadata..."
[1] "Harmonizing table and metadata samples..."
[1] "Converting to phyloseq..."
[1] "Creating design formula..."
~Pool
[1] "Running corncob..."
[1] "Saved RDS!"
[1] "Aggregating models..."
Error: $ operator is invalid for atomic vectors
Execution halted
This were the the logoutput of metagenomeseq;
[1] "Loading table..."
[1] "Loading metadata..."
[1] "Harmonizing table and metadata samples..."
Default value being used.
[1] "Creating design formula..."
[1] "Running metagenomeSeq..."
it= 0, nll=210.47, log10(eps+1)=Inf, stillActive=738
it= 1, nll=210.34, log10(eps+1)=Inf, stillActive=253
it= 2, nll=206.62, log10(eps+1)=Inf, stillActive=242
it= 3, nll=204.02, log10(eps+1)=Inf, stillActive=194
it= 4, nll=202.55, log10(eps+1)=Inf, stillActive=142
it= 5, nll=202.81, log10(eps+1)=Inf, stillActive=74
it= 6, nll=203.25, log10(eps+1)=Inf, stillActive=49
it= 7, nll=203.77, log10(eps+1)=Inf, stillActive=38
it= 8, nll=203.71, log10(eps+1)=Inf, stillActive=38
it= 9, nll=203.66, log10(eps+1)=Inf, stillActive=38
Error in if (max(df.residual) == 0) stop("No residual degrees of freedom in linear model fits") :
missing value where TRUE/FALSE needed
Calls: -> .do_fitZig -> -> .ebayes
Execution halted
The text was updated successfully, but these errors were encountered: