Biostar Beta. Not for public use.
Question: How to run SNPEff jar for a batch of VCF files using GNU parallel tool?
0
Entering edit mode

How to run SNPEff jar for a batch of VCF files (300 items) using GNU parallel tool? Need a code example. Found only one example somehow similar to my question https://stackoverflow.com/questions/28072857/s-gnu-parallel-execution-of-commands-from-file-few-at-a-time. Thx.

Entering edit mode
1

I think you need to use:

GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU parallel can then split the input and pipe it into
commands in parallel.

Nice tutorial can be found:

https://davetang.org/muse/2013/11/18/using-gnu-parallel/

https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/

ADD REPLYlink 2.0 years ago
Medhat
8.3k
Entering edit mode
0

If you add an example of how you do it without GNU Parallel, then you may have more luck getting a usable answer.

ADD REPLYlink 14 months ago
ole.tange
♦ 3.4k

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.0