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

Prodigal: don't set metagenome mode if training file given #538

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jvolkening
Copy link

Currently, when running prodigal, prokka automatically sets anonymous (formerly metagenome) mode when the total input sequences are shorter than 100,000 bases. If a training file is specified with the --prodigaltf option, it is ignored by prodigal because of this.

The current patch changes the behavior to not set anonymous mode if a training file is specified, regardless of input length. It also adds a check to make sure the prodigal file is readable, and croaks if not (currently this is silently ignored).

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

Successfully merging this pull request may close these issues.

None yet

1 participant