How to use gnu-parallel for processing a script with two inputs?
<p>I am trying to run a Python script with two inputs as follows. I got ~300 of these two inputs so I wonder if somebody could advise how to run them with parallel.</p>

<p>The single run looks like:</p>

<pre><code>python stable.py KOG_1.fan KOG_1.fasta &gt; KOG_1.stable
</code></pre>

<p>My test with parallel which is not working:</p>

<pre><code>ls *.fan; ls *.fasta | parallel python stable.py {} {} &gt; {.}.stable
</code></pre>

<p>but how do I specify that is has to run with <code>_1.fan</code> and <code>_1.fasta</code>; then <code>_2.fan</code> and <code>_1.fasta</code> and so on... until <code>_300.fan</code> and <code>_300.fasta</code>.</p>