This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Qsub + job array + while read; do; done

Hi!

just some help...

I'm using a "Sun Grid Engine" with "qsub"

In one hand I have this code

while read -r H; do echo ${H}; done < list

The number of the lines in the list file is 100.

On the other hand I want to create a job array with the option -t

echo "echo $H" | qsub -N loop -t 1-100

How can I merge the two codes? In the way to create a job array (1-100) where each job read one line from the list file...?

Many thanks

sge qsub job-array

Hello emmanouil.a!

We believe that this post does not fit the main topic of this site.

Not really bioinformatics, please ask/search StackOverflow

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.