Skip to content

Commit

Permalink
start on singularity support (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten-vd-Sande committed Apr 28, 2022
1 parent 1b662c0 commit f52b55b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions seq2science/envs/get_fastq.yaml
Expand Up @@ -7,4 +7,5 @@ dependencies:
- pkgs/main::pigz=2.4
- bioconda::sra-tools=2.11.0
- bioconda::parallel-fastq-dump=0.6.7
- conda-forge::flock=0.2.3
- conda-forge::conda-ecosystem-user-package-isolation=1.0
1 change: 1 addition & 0 deletions seq2science/envs/khmer.yaml
Expand Up @@ -6,4 +6,5 @@ channels:
dependencies:
- bioconda::khmer=2.0
- conda-forge::jq=1.6
- bioconda::grep=3.4
- conda-forge::conda-ecosystem-user-package-isolation=1.0
1 change: 1 addition & 0 deletions seq2science/envs/samtools.yaml
Expand Up @@ -5,4 +5,5 @@ channels:
- defaults
dependencies:
- bioconda::samtools=1.14
- conda-forge::perl=5.32.1
- conda-forge::conda-ecosystem-user-package-isolation=1.0
1 change: 1 addition & 0 deletions seq2science/rules/configuration_generic.smk
@@ -1,6 +1,7 @@
"""
all logic not related to any specific workflows should be here.
"""
container: "docker://quay.io/biocontainers/seq2science:0.7.2--pypyhdfd78af_0"

import os.path
import pickle
Expand Down
6 changes: 3 additions & 3 deletions seq2science/rules/get_fastq.smk
Expand Up @@ -39,7 +39,7 @@ rule run2sra:
do
# acquire a lock
(
flock --timeout 30 200 || continue
flock -w 30 200 || continue
sleep 2
) 200>{pysradb_cache_lock}
Expand Down Expand Up @@ -92,7 +92,7 @@ rule sra2fastq_SE:
# acquire the lock
(
flock --timeout 30 200 || exit 1
flock -w 30 200 || exit 1
sleep 3
) 200>{pysradb_cache_lock}
Expand Down Expand Up @@ -133,7 +133,7 @@ rule sra2fastq_PE:
# acquire the lock
(
flock --timeout 30 200 || exit 1
flock -w 30 200 || exit 1
sleep 3
) 200>{pysradb_cache_lock}
Expand Down
2 changes: 1 addition & 1 deletion seq2science/scripts/atacshift.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# atacshift: Correct for tn5 bias by shifting reads on the positive strand +4 and reads
# on the negative strand -5. The CIGAR string is the same length as the read
Expand Down

0 comments on commit f52b55b

Please sign in to comment.