I am having an issue trying to use parallel command on Ubuntu 10.04. I looked up the parallel documentation and few of the commands seem to run. In all cases I just get the command prompt back without any action being taken. e.g. I was trying to compress a bunch of files using bzip2
17:32 farhat HarshaNaveen$ parallel bzip2 ::: *fastq
17:33 farhat HarshaNaveen$ ls *fastq|parallel bzip2 {}
Neither of these commands worked. Nor was there any error. The example given in the man file worked fine though.
18:58farhat HarshaNaveen$ parallel sh -c "echo hi; sleep 2; echo bye" -- 1 2 3
hi
hi
hi
bye
bye
bye
18:58farhat HarshaNaveen$
What am I doing wrong?
moreutils
. As you are dealing with fastq-files you definitely want to install GNU Parallel because of the--pipe
option. Watch youtube.com/watch?v=1ntxT-47VPA to see an example with fasta-files.