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

Optimization "create_new_scheme_with_novel.py" #105

Open
Nilad opened this issue Nov 15, 2019 · 0 comments
Open

Optimization "create_new_scheme_with_novel.py" #105

Nilad opened this issue Nov 15, 2019 · 0 comments

Comments

@Nilad
Copy link

Nilad commented Nov 15, 2019

Hi,

First, thanks for this tools.

In the way to render MentaLiST containerable, can you in the script create_new_scheme_with_novel.py change the files list needed by just the path of the directory database that contains the fasta files.

Like

parser.add_argument("-db", "--pathDB", type=str, help="MLST Fasta Database Directory")

instead of

parser.add_argument("files", nargs="+", help="MLST Fasta files")

And

for f in os.listdir(param.pathDB):
    f_path = os.path.join(param.pathDB, f)

instad of

for f in param.files:

Because for a large database of fasta files... the length of the python command overflow the maximun allowed by docker or singularity.

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

1 participant