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

Several "At least one cluster failed!Stopping..." errors #261

Closed
BaMagalhaes opened this issue Mar 27, 2019 · 11 comments
Closed

Several "At least one cluster failed!Stopping..." errors #261

BaMagalhaes opened this issue Mar 27, 2019 · 11 comments

Comments

@BaMagalhaes
Copy link

I tried to use ariba with the command:

$ ariba run out.card.prepareref 25164_R1.fastq.gz 25164_R2.fastq.gz out.run
However I got the following errors

Stopping! Signal received: 13
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ariba/clusters.py", line 602, in run
    self._run()
  File "/usr/lib/python3/dist-packages/ariba/clusters.py", line 636, in _run
    raise Error('At least one cluster failed! Stopping...')
ariba.clusters.Error: At least one cluster failed! Stopping...

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/ariba", line 298, in <module>
    args.func(args)
  File "/usr/lib/python3/dist-packages/ariba/tasks/run.py", line 65, in run
    c.run()
  File "/usr/lib/python3/dist-packages/ariba/clusters.py", line 605, in run
    raise Error('Something went wrong during ariba run. Cannot continue. Error was:\n' + str(err))
ariba.clusters.Error: Something went wrong during ariba run. Cannot continue. Error was:
At least one cluster failed! Stopping...

None of the solutions suggested in previous closed issues helped to solve these errors. I have tried it using the option --threads 1 , didn't help.

Is it a bug? Do you have any other suggestions?

@kpepper
Copy link
Member

kpepper commented Mar 28, 2019

Do you get a log.clusters file in the output folder? If so, what's been logged in it?
Also, do you get any extra information using the --verbose flag?
What version shows when you execute 'ariba version'
Are you able to provide access to the fastq files?

@BaMagalhaes
Copy link
Author

BaMagalhaes commented Mar 28, 2019 via email

@kpepper
Copy link
Member

kpepper commented Mar 28, 2019

Hi @BaMagalhaes,
So, I ran your files on a Mac Ariba install and it produced a report.tsv with no errors.
I ran an older Ariba release on Ubuntu 12 and got a Signal message but still ran to completion and produced a report.tsv. It didn't abort.
I then ran your files through the latest Ariba release on Ubuntu 17 via the docker image - again ran to completion with no errors.

The version of Ariba available in Debian is now rather out of date (the latest Ariba release is v2.13.15). I would suggest using the latest Ariba release via pip3 install or using the Docker hub image, which worked for me - see the Github page for instructions.

@BaMagalhaes
Copy link
Author

BaMagalhaes commented Mar 28, 2019 via email

@kpepper
Copy link
Member

kpepper commented Mar 29, 2019

Does it exit immediately, or do you get some output such as:

AAC_3__Ib detected 1 threads available to it
AAC_3__Ib reported completion
APH_3___IIb detected 1 threads available to it
APH_3___IIb reported completion
etc.

Is there anything at all in the out.run folder?

To access Docker you could do the following:
export PATH=/snap/bin/:$PATH
to add docker to your path before running the command. Do you have a sysadmin who can check that it's installed properly?

@BaMagalhaes
Copy link
Author

BaMagalhaes commented Mar 29, 2019 via email

@kpepper
Copy link
Member

kpepper commented Mar 29, 2019

Are you missing a / in front of home/ubuntu... i.e. /home/ubuntu ?

@BaMagalhaes
Copy link
Author

BaMagalhaes commented Mar 29, 2019 via email

@kpepper
Copy link
Member

kpepper commented Mar 29, 2019

Yes, you need to put /data/ in front of the file args - it's the data area from the docker container's perspective:

docker run --rm -it -v /home/ubuntu/data:/data sangerpathogens/ariba ariba run --verbose /data/out.card.prepareref /data/25164_R1.fastq.gz /data/25164_R2.fastq.gz /data/out.run

@BaMagalhaes
Copy link
Author

BaMagalhaes commented Mar 29, 2019 via email

@kpepper
Copy link
Member

kpepper commented Mar 29, 2019

Great, good luck with your analysis.

@kpepper kpepper closed this as completed Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants