Skip to content

Commit

Permalink
Merge pull request #39 from clinical-genomics-uppsala/padraicc-patch-3
Browse files Browse the repository at this point in the history
feat: Update start_HG_marvin.sh
  • Loading branch information
zezzipa authored Sep 4, 2023
2 parents f546c1f + 444bbb3 commit 8afd47b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions start_HG_marvin.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
#!/usr/bin/env bash
# To run script:
# bash /projects/wp3/nobackup/TWIST/Bin/Poirot/start_TE_marvin.sh /projects/wp3/nobackup/WGS/*/230619_NDX550925_RUO_0133_AHJ2YMBGXT/Sample_* HG4
# bash /projects/wp3/nobackup/TWIST/Bin/Poirot/start_HG_marvin.sh /projects/wp3/nobackup/WGS/*/230619_NDX550925_RUO_0133_AHJ2YMBGXT/Sample_* HG4

set -euo pipefail

module load slurm-drmaa/1.1.3
module load snakemake/7.22.0
module load singularity/3.7.1
source /beegfs-storage/projects/wp3/nobackup/TWIST/Bin/Poirot/hydra-env/bin/activate;
pip install -r /beegfs-storage/projects/wp3/nobackup/TWIST/Bin/Poirot/requirements.txt

poirotFolder=/beegfs-storage/projects/wp3/nobackup/TWIST/Bin/Poirot

python3.9 -m venv ${poirotFolder}/hydra_env
source ${poirotFolder}/hydra_env/bin/activate
pip install -r ${poirotFolder}/requirements.txt

fastqFolder=$1
sequencerun=$2 #Sequence ID
startDir=$PWD

poirotFolder=/beegfs-storage/projects/wp3/nobackup/TWIST/Bin/Poirot
outbox=$(echo $(echo ${poirotFolder} | rev | cut -d/ -f3- | rev)/OUTBOX)

# Create outbox and scratch folders
Expand Down
1 change: 1 addition & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ use rule cnvpytor_filter from cnv_sv as cnv_sv_cnvpytor_filter
use rule cnvpytor_readdepth from cnv_sv as cnv_sv_cnvpytor_readdepth with:
input:
bam=lambda wildcards: get_bam_input(wildcards)[0],
bai=lambda wildcards: get_bam_input(wildcards)[1],
vcf=lambda wildcards: get_vcf_input(wildcards),


Expand Down

0 comments on commit 8afd47b

Please sign in to comment.