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

Homogenize database option usage (-d) when creating and using a MATAM db #70

Open
ppericard opened this issue Feb 11, 2019 · 0 comments

Comments

@ppericard
Copy link
Member

ppericard commented Feb 11, 2019

Right now, the -d option has a different usage in index_default_ssu_rrna_db.py + matam_db_preprocessing.py vs. matam_assembly.py.
In the first case, the user has to provide the path to a directory where the database will be written, and the database name/prefix will be automatically and implicitely defined based on the reference fasta filename.
In the second case, the -d option is expecting the path to the prefixed database. This is the way most popular bioinformatic programs using indexes are designed (BLAST, bowtie, ...). This is also the most user friendly way of doing and it doesn't leave place to implicit option/naming.

Therefore, the -d option should be changed in the db creation/indexing scripts. Instead of a directory, the user should be passing a prefix. By default it could be a prefix based on the input file and written in the current working directory, but the user need to be able to explicitly specify another PATH/prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant