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

How to use multiple switches in commandline? #232

Closed
dutchscientist opened this issue Feb 9, 2016 · 3 comments
Closed

How to use multiple switches in commandline? #232

dutchscientist opened this issue Feb 9, 2016 · 3 comments

Comments

@dutchscientist
Copy link

I am playing with the different switches in the commandline, and this gives problems.

What works: roary -v -s -i 80 *.gff
What does not work: roary -v -p 8 -s -i 80 *.gff (in any order, -p after the -i 80 also fails)

Wherever I put the -p 8 (to use multiple threads), it gives an error after checking the GFFs:
parallel: Error: Command (--no-notice) starts with '-'. Is this a wrong option?

While -g 100000 or -cd 80 works fine. Anything simple I am overlooking? The -p switch is exactly as in the -h helptext.

(using v 3.5.8, just updated)

@dutchscientist
Copy link
Author

Or does the use of parallel (installed because of Prokka) make it unnecessary to specify the number of threads?

@andrewjpage
Copy link
Member

By default it will only use 1 thread unless you request to use more.
There are 2 applications called parallel. You need GNU parallel which you
can check by running 'parallel -h'. Have you aliased parallel by any
chance to suppress the annoying citation notice?

On 9 February 2016 at 01:50, dutchscientist notifications@github.com
wrote:

Or does the use of parallel (installed because of Prokka) make it
unnecessary to specify the number of threads?


Reply to this email directly or view it on GitHub
#232 (comment)
.

@tseemann
Copy link
Contributor

Both Prokka and Roary use the same GNU Parallel.

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

3 participants