Skip to content

Instantly share code, notes, and snippets.

@sahilseth
Last active September 29, 2015 16:40
Show Gist options
  • Save sahilseth/dc82ffb1b4613b2e90c6 to your computer and use it in GitHub Desktop.
Save sahilseth/dc82ffb1b4613b2e90c6 to your computer and use it in GitHub Desktop.
simple make
jobname sub_type prev_jobs dep_type queue memory_reserved walltime cpu_reserved platform jobid
create_db serial none none short 2000 1:00 1 local 1
rna2dna1 serial create_db serial short 2000 1:00 1 local 2
echorna1 serial rna2dna1 serial short 2000 1:00 1 local 3
rna2dna2 serial create_db serial short 2000 1:00 1 local 4
echorna2 serial rna2dna2 serial short 2000 1:00 1 local 5
rna2dna3 serial create_db serial short 2000 1:00 1 local 6
echorna3 serial rna2dna3 serial short 2000 1:00 1 local 7
samplename jobname cmd
samp1 create_db cat seq1.dna seq2.dna seq3.dna > database.dna
samp1 rna2dna1 tr 'U' 'T' < seq3.rna > seq3.dna
samp1 echorna1 echo 'AUGCGAUCGAUCG' > seq3.rna
samp1 rna2dna2 tr 'U' 'T' < seq3.rna > seq3.dna
samp1 echorna2 echo 'AUGCGAUCGAUCG' > seq3.rna
samp1 rna2dna3 tr 'U' 'T' < seq3.rna > seq3.dna
samp1 echorna3 echo 'AUGCGAUCGAUCG' > seq3.rna
@sahilseth
Copy link
Author

Install flowr following these steps.

create a skeleton flowdef

def = to_flowdef(as.flowmat("simple_make.tsv"))
write_sheet(def, "simple_make.def")

hack away the flow def to suit your needs

vi simple_make.def
flowr plot_flow x="simple_make.def" pdffile=simple_make.pdf

submit

From command line:

flowr to_flow x=simple_make.tsv.tsv def=simple_make.def execute=TRUE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment