Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mosaicatcher Update
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Weber
Mosaicatcher Update
Commits
5e163603
Commit
5e163603
authored
6 years ago
by
Sascha Meiers
Browse files
Options
Downloads
Patches
Plain Diff
Add cluster support via singularity. Not yet fully tested
parent
3ecce146
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cluster.json
+47
-0
47 additions, 0 deletions
cluster.json
run_pipeline_cluster-singularity.sh
+17
-0
17 additions, 0 deletions
run_pipeline_cluster-singularity.sh
with
64 additions
and
0 deletions
cluster.json
0 → 100755
+
47
−
0
View file @
5e163603
{
"__default__"
:
{
"n"
:
"{threads}"
,
"mem"
:
"500M"
,
"time"
:
"10:00"
},
"mosaic_count_fixed"
:
{
"time"
:
"1:00:00"
},
"mergeBams"
:
{
"time"
:
"1:00:00"
,
"mem"
:
"2G"
},
"plot_SV_calls"
:
{
"time"
:
"30:00"
},
"segmentation"
:
{
"time"
:
"45:00"
,
"mem"
:
"2G"
},
"mosaiClassifier_make_call"
:
{
"mem"
:
"2G"
,
"time"
:
"45:00"
},
"plot_SV_calls"
:
{
"mem"
:
"2G"
,
"time"
:
"25:00"
},
"run_strandphaser_per_chrom"
:
{
"time"
:
"1:30:00"
,
"mem"
:
"6G"
},
"call_SNVs_bcftools_chrom"
:
{
"time"
:
"1:00:00"
,
"mem"
:
"2G"
}
}
This diff is collapsed.
Click to expand it.
run_pipeline_cluster-singularity.sh
0 → 100755
+
17
−
0
View file @
5e163603
#!/bin/bash
REF
=
"/g/korbel/shared/datasets/refgenomes/human/GCA_000001405.15_GRCh38_no_alt_analysis_set.fna"
snakemake
\
-j
100
\
--configfile
Snake.config-singularity.json
\
--use-singularity
\
--singularity-args
"-B
${
REF
}
:/reference.fa:ro -B
${
REF
}
.fai:/reference.fa.fai:ro"
\
--cluster-config
cluster.json
\
--local-cores
8
\
--cluster
"sbatch -o slurm/{rule}.%j.log -e slurm/{rule}.%j.log --cpus-per-task {cluster.n} --time {cluster.time} --mem {cluster.mem}"
\
--latency-wait
60
\
--timestamp
\
--keep-going
\
--restart-times
1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment