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

para check out exist #5

Open
ErinZhang1998 opened this issue May 30, 2018 · 1 comment
Open

para check out exist #5

ErinZhang1998 opened this issue May 30, 2018 · 1 comment

Comments

@ErinZhang1998
Copy link

Hi Michael

From genomewiki

Now that we have a template and a data list, we can create the jobList

gensub2 input.list single gsub-template jobList

This takes each line of input.list and applies it to the template, substituting whatever special substitution words you have used.

[ku.sdsc.edu:testParasol3> head jobList
paraTestJob 99 -output={check out line+ out/job0.out}
paraTestJob 24 -output={check out line+ out/job1.out}
paraTestJob 65 -output={check out line+ out/job2.out}
paraTestJob 76 -output={check out line+ out/job3.out}
paraTestJob 34 -output={check out line+ out/job4.out}
paraTestJob 23 -output={check out line+ out/job5.out}
paraTestJob 11 -output={check out line+ out/job6.out}
paraTestJob 1 -output={check out line+ out/job7.out}
paraTestJob 2 -output={check out line+ out/job8.out}
paraTestJob 3 -output={check out line+ out/job9.out}

We are showing off a parasol "para" feature,
{check out line+ out/job9.out}
that it can automatically check that the output exists and contains at least one line.

** Does paraSlurm.perl provide the same feature? **

@MichaelHiller
Copy link

No, it does not.
Your jobList need to be commands that can be executed in a linux command line.
I typically create jobLists just with awk, looping over all input files.

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

2 participants