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

run_preCluster.py --cpus=30 CalledProcessError(retcode, cmd) #98

Open
bijendrabio opened this issue Jan 21, 2022 · 1 comment
Open

run_preCluster.py --cpus=30 CalledProcessError(retcode, cmd) #98

bijendrabio opened this issue Jan 21, 2022 · 1 comment

Comments

@bijendrabio
Copy link

Hello All,
I am receiving following error while running the Family finding step of Cogent for a large dataset. Kindly suggest.

input file:
isoseq_flnc.fasta

command:
python /path/to/cDNA_Cupcake/cupcake2/tofu2/run_preCluster.py --cpus=30

raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/bin/time -v minimap2 -H -f 0.00001 -N 2000000 -m 20 -t 20 seed0.fasta seed0.fasta > seed0.fasta.seed0.fasta.f00001.minimap 2> seed0.fasta.seed0.fasta.f00001.minimap.log' returned non-zero exit status 127

@LionOfComarre
Copy link

Hey, this script seems to have been removed in v29 of cupcake, but for anyone attempting to run cogent with v28, this issue is caused by the default time program on macos being different from the linux one. To fix it, you can run

brew install gnu-time

if you have brew installed and then going into the script AlignerRunners.py mentioned further up in the error message and changing /usr/bin/time to gtime. Though that's a bit of a hack and I would recommend running Cogent on a linix platform if possible.

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