Skip to content
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

ERROR: CMD ended with status code 1 #31

Open
vini8cs opened this issue Aug 24, 2023 · 4 comments
Open

ERROR: CMD ended with status code 1 #31

vini8cs opened this issue Aug 24, 2023 · 4 comments
Assignees
Labels

Comments

@vini8cs
Copy link

vini8cs commented Aug 24, 2023

Hi! I'm encountering an issue with Trans-Abyss that appears to be a problem in the code. When executing the abyss-filtergraph command, it seems that too many arguments are being passed to the function abyss-filtergraph:

CMD: bash -euo pipefail -c 'abyss-filtergraph --shim --assemble --kmer=25 --island=0 --remove=/home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.braid.cids --graph=/home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.filtered.adj1 /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-1.adj /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-1.fa > /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.path'
abyss-filtergraph: too many arguments
Try abyss-filtergraph --help for more information.
ERROR: CMD ended with status code 1

I attempted to address this issue by removing the last argument, achieved by deleting this line, but the problem persists:

remove_rref_cmd_params1.append(last_good_fasta)

While attempting to merge the contigs, another issue arises:

CMD: bash -euo pipefail -c 'abyss-filtergraph --shim --assemble --kmer=25 --island=0 --remove=/home/apis/Gabriela_data_metagenomics/SRR1370499 2/25_assembly_trans_abyss-unitigs.r1.braid.cids --graph=/home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.f iltered.adj1 /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-1.adj > /home/apis/Gabriela_data_metagenomics/SRR137049 92/25_assembly_trans_abyss-unitigs.r1.path'
Elapsed time: 0 h 0 m 17 s
CMD: bash -euo pipefail -c 'MergeContigs --kmer=25 --out=/home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1. filtered.fa --adj --graph=/home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.filtered.adj /home/apis/Gabriel a_data_metagenomics/SRR13704992/25_assembly_trans_abyss-1.fa /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs .r1.filtered.adj1 /home/apis/Gabriela_data_metagenomics/SRR13704992/25_assembly_trans_abyss-unitigs.r1.path'
error: unexpected ID: 113'
Aborted (core dumped)
Elapsed time: 0 h 0 m 47 s
ERROR: CMD ended with status code 134

What should I do?

@kmnip kmnip self-assigned this Aug 24, 2023
@kmnip kmnip added the question label Aug 24, 2023
@kmnip
Copy link
Collaborator

kmnip commented Aug 24, 2023

Please confirm whether you have the correct version of ABySS installed.
As mentioned in our README, Trans-ABySS only works with ABySS version 2.0.x, e.g. https://github.com/bcgsc/abyss/releases/tag/2.0.3
If you installed Trans-ABySS and its dependencies with conda, you shouldn't have any issues.

@vini8cs
Copy link
Author

vini8cs commented Aug 24, 2023

However, for some reason, I am unable to download the 2.0.3 version using conda, even when I specify the version. The installation only proceeds with the 1.5.2 version. I will attempt to install it from the source instead.

@vlad0x00
Copy link
Member

vlad0x00 commented Aug 24, 2023

That often happens if there are conflicting versions with other installed packages. You can try installing abyss and transabyss in a fresh conda environment.

@kmnip
Copy link
Collaborator

kmnip commented Aug 24, 2023

Yes, I agree with @vlad0x00. Please install Trans-ABySS into a dedicated conda environment, e.g.

conda create -n transabyss -c bioconda transabyss

Activate this environment and try your assembly again:

conda activate transabyss
transabyss ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants