Skip to content
Snippets Groups Projects
Commit c068561a authored by Holger Brandl's avatar Holger Brandl
Browse files

updated kotlin support API dependency

parent f7692962
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env kscript
//DEPS de.mpicbg.scicomp:joblist:0.7 de.mpicbg.scicomp:kutils:0.7
//DEPS de.mpicbg.scicomp.joblist:joblist-kotlin:1.1 de.mpicbg.scicomp:kutils:0.7
// add docopts to local m2 index
......@@ -7,7 +7,8 @@
// kotlinc-jvm -classpath $(mvncp org.docopt:docopt:0.6.0-SNAPSHOT)
import de.mpicbg.scicomp.kutils.evalBash
import joblist.JobConfiguration
import de.mpicbg.scicomp.kutils.joblist.JobConfig
import de.mpicbg.scicomp.kutils.joblist.createHtmlReport
import joblist.JobList
import org.docopt.Docopt
import java.io.File
......@@ -131,11 +132,9 @@ for (fastqFile in fastqFiles) {
samtools index ${fastqBaseName}.bam
""".trimIndent()
// todo provide proper walltime here
// slurm memory limit https://rc.fas.harvard.edu/resources/documentation/slurm-memory/
// sacct -o MaxRSS -j JOBID
jl.run(JobConfiguration(cmd, "star__${fastqBaseName}", "10:00", "", 5, 40000, "", better.files.File(File(".").toPath())))
// jl.run(JobConfiguration(cmd, "star__${fastqBaseName}", "", "medium", 5, 0, "", better.files.File(File(".").toPath())))
jl.run(JobConfig(cmd, "star__${fastqBaseName}", "10:00", "", 5, 40000))
}
......@@ -145,7 +144,7 @@ jl.waitUntilDone(1000)
// http://lampwww.epfl.ch/~michelou/scala/using-scala-from-java.html
joblist.`package$`.`MODULE$`.ImplJobListUtils(jl).createHtmlReport()
jl.createHtmlReport()
//// estimate expresssion with http://bioinf.wehi.edu.au/featureCounts/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment