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

Subprocess command depends on OS #5

Open
ParsaGhadermazi opened this issue Jun 7, 2024 · 3 comments
Open

Subprocess command depends on OS #5

ParsaGhadermazi opened this issue Jun 7, 2024 · 3 comments

Comments

@ParsaGhadermazi
Copy link

Hi,

Thanks for making this great tool available. When running on MacOS, I get an error in the following line:

run_process(['mmseqs', 'createindex', output_loc, tmp_dir, '--threads', str(threads)], verbose=verbose)

I guess this is happening because the command argument for run_process is different depending on the OS (A list of strings vs. a single string)

Parsa

@houjialin
Copy link

Hi, I got similar error in our CentOS system with following information:

raise CalledProcessError(retcode, process.args,
517 subprocess.CalledProcessError: Command '['mmseqs', 'createindex', 'CAPMER_annotation/working_dir/bin.9/gene.mmsdb', 'CAPMER_annotation/working_dir/bin.9/tmp',  
    '--threads', '10']' returned non-zero exit status 1.

Jialin

@KatherineDuchesneau
Copy link

Hi Parsa and Jialin,

I think the issue is that the input fasta file for the standalone camper module has to be in amino acid sequences. Make sure that you are using a translated file and the mmseqs command should work.

Best,
Kat

@ParsaGhadermazi
Copy link
Author

Hi Kat,

Thanks. This solved the problem.

Best,
Parsa

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

3 participants