Skip to content

createsetdb overwriting database results in error #15

@shaman-narayanasamy

Description

@shaman-narayanasamy

Dear authors/developers,

Thanks for maintaining spacepharer.

I was attempting to created/overwrite a query database of spacer sequences. Despite createsetdb clearly warning that the database will be overwritten in the stdout, it somehow ends up with the following (somewhat cryptic) error:

$ spacepharer createsetdb --extractorf-spacer 1  /input/crispr_identification/spacers_rep_seq-test.fasta          /input/spacepharer_dbs/spacers/setDbs/querySetDb /tmp/spacers/tmpFolder      --threads 12
/input/spacepharer_dbs/spacers/setDbs/querySetDb exists and will be overwritten
createsetdb --extractorf-spacer 1 /input/crispr_identification/spacers_rep_seq-test.fasta /input/spacepharer_dbs/spacers/setDbs/querySetDb /tmp/spacers/tmpFolder --threads 12 

MMseqs Version:          	5.c2e680a
Taxonomy mapping file    	
NCBI tax dump directory  	
Reverse AA Fragments     	0
Extract orfs from spacers	1
Translation table        	1
Add orf stop             	false
Compressed               	0
Threads                  	12
Verbosity                	3

Error: protein mode not implemented

The same command worked as soon as I deleted the existing database and started a fresh run. I think a good quick fix could be changing the error message suggesting the user to delete the existing copy and rerun as it took me some time to figure out the issue.

Let me know if you have any further questions.

Cheers,
Shaman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions