Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Hoeckesfeld
Snakemake Ngs Spa Typing
Commits
d95f219b
Commit
d95f219b
authored
Jan 19, 2021
by
Jan Hoeckesfeld
Browse files
added singularity definition file
parent
299690fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
d95f219b
...
...
@@ -7,4 +7,6 @@ config.yaml
__pycache__/
benchmarks/
logs/
report/
\ No newline at end of file
report/
*.sif
hilbert/
\ No newline at end of file
rules/probabilistic.snk
View file @
d95f219b
...
...
@@ -86,7 +86,8 @@ rule calcLikelihoods:
gpus = '0',
walltime = '00:30:00'
singularity:
'docker://phspo/ckmertools:iterationset-tests'
'singularity_container/ckmertools_iterset.sif'
#'docker://phspo/ckmertools:iterationset-tests'
shell:
'c_kmertools --e {input.expected} --c {params.cpus} --m 0 --o {input.observed} --kmererror {params.e} --d {params.deviationCutoff} --target {output.likelihoods} --unexpected {output.unexpectedLikelihoods} --log {log} --itersetType {params.itersetType} --hammingdist {input.V_kmers_distances} --kmersindex {input.V_kmers}'
...
...
@@ -107,7 +108,8 @@ rule calcLikelihoods_Generative:
k = lambda wildcards: wildcards.kmer,
e = lambda wildcards,input : extractTsvValue(input.baseError,0,True)
singularity:
'docker://phspo/ckmertools:latest'
'singularity_container/ckmertools_iterset.sif'
#'docker://phspo/ckmertools:latest'
log:
'logs/'+config['input_folder']+'/probabilistic/kmers/{kmer}/{id}/likelihoods.log'
benchmark:
...
...
singularity_container/ckmertools.def
0 → 100644
View file @
d95f219b
Bootstrap: docker
From: phspo/ckmertools:latest
%environment
export PATH=/ckmertools/build:${PATH}
%post
git clone https://github.com/rogersce/cnpy.git
mkdir cnpy/build
cd cnpy/build && git checkout 4e8810b1a8637695171ed346ce68f6984e585ef4
cmake .. && make && make install
cd /ckmertools && git fetch && git checkout iterationset-tests
cd /ckmertools/build && cmake ../ && make
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment