-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add todos * fmt * add test case * refactoring
- Loading branch information
1 parent
07f7300
commit aff0b57
Showing
9 changed files
with
166 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
samples = list(range(10)) | ||
|
||
|
||
rule all: | ||
input: | ||
"test.out" | ||
|
||
|
||
rule a: | ||
output: | ||
"a/{sample}.out" | ||
shell: | ||
"touch {output}" | ||
|
||
|
||
rule b: | ||
input: | ||
"a/{sample}.out" | ||
output: | ||
"b/{sample}.out" | ||
shell: | ||
"touch {output}" | ||
|
||
|
||
rule c: | ||
input: | ||
expand("b/{sample}.out", sample=samples) | ||
output: | ||
"test.out" | ||
group: 1 | ||
shell: | ||
"touch {output}" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
echo `date` >> qsub.log | ||
tail -n1 $1 >> qsub.log | ||
# simulate printing of job id by a random number | ||
echo $RANDOM | ||
sh $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters