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 message returned non-zero exit status 1 #20

Closed
SK-N-BE opened this issue Jun 29, 2018 · 5 comments
Closed

Error message returned non-zero exit status 1 #20

SK-N-BE opened this issue Jun 29, 2018 · 5 comments

Comments

@SK-N-BE
Copy link

SK-N-BE commented Jun 29, 2018

I have never had problems when using staramr, but suddenly I am getting this error message:

2018-06-29 11:45:58,535 ERROR: Command '['makeblastdb', '-in', '/tmp/tmp426ql20e/input-genomes/Patient_2_A.fasta', '-dbtype', 'nucl', '-parse_seqids']' returned non-zero exit status 1
What may I do?

@apetkau
Copy link
Member

apetkau commented Jun 29, 2018

staramr first runs makeblastdb to make a BLAST database of your input genomes. It seems like this command failed. To get more details, you can run the command outside of staramr, that is:

makeblastdb -in Patient_2_A.fasta -dbtype nucl -parse_seqids

I've sometimes had trouble in cases where there are duplicate sequence ids in an input fasta file (in which case you just have to make them unique). But, there could be a number of reasons this command failed.

@SK-N-BE
Copy link
Author

SK-N-BE commented Jul 2, 2018

Thank you. Using your command, I am getting this error message:

BLAST Database creation error: Error: Duplicate seq_ids are found:
LCL|PATIENT

Thus, there seems to be the error you describe: duplicate sequence ids in an input fasta file. I am using a multi-fasta file.

@apetkau
Copy link
Member

apetkau commented Jul 2, 2018

Great. You can try opening up the file and renaming the sequence ids so they are unique. For example, if there are multiple ids like >patient, you can rename them >patient1, >patient2, and so on.

@SK-N-BE
Copy link
Author

SK-N-BE commented Jul 3, 2018

Thank you! It is working. I have done the following:

I opened the multi-fasta file in Artemis and generated a "single-fasta" file that I used as an input for staramr instead of the multi-fasta file

@apetkau
Copy link
Member

apetkau commented Jul 3, 2018

That's awesome 😄. I'm glad it's working. Let me know if you have any more questions.

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