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

Unexpected behaviour when using seq option multiple times #168

Closed
mbhall88 opened this issue Mar 6, 2023 · 3 comments · Fixed by #169
Closed

Unexpected behaviour when using seq option multiple times #168

mbhall88 opened this issue Mar 6, 2023 · 3 comments · Fixed by #169
Assignees

Comments

@mbhall88
Copy link
Member

mbhall88 commented Mar 6, 2023

The -1/-i/--seq option takes the fastq file(s) to be analysed by mykrobe. This option can be used multiple times or just solo. However, I discovered that if it is used multiple times, only the last occurence is used. For example

  • -1 in.fq: uses in.fq
  • -1 in.fq in2.fq: uses in.fq and in2.fq
  • -1 in.fq -1 in2.fq: uses in2.fq only
@mbhall88 mbhall88 self-assigned this Mar 6, 2023
@iqbal-lab
Copy link
Collaborator

Wot

@martinghunt
Copy link
Member

Just being picky, but the help does say to use the option once, not more than once ;) That said, it does make sense to allow of your 3 examples

@mbhall88
Copy link
Member Author

mbhall88 commented Mar 7, 2023

Fair. Well we would either need to error if it is used twice, or allow it then I guess...

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 a pull request may close this issue.

3 participants