Skip to content

Commit

Permalink
ci tests for allelic multicom
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 11, 2024
1 parent 833e1e1 commit 770ae19
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .ci_stuff/test_dag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,13 @@ WC=`mRNA-seq -m allelic-mapping,deepTools_qc,alignment-free -i PE_input -o outpu
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 3294 ]; then exit 1 ; fi
WC=`mRNA-seq -m allelic-counting -i allelic_BAM_input/allelic_bams --fromBAM --bamExt '.sorted.bam' -o output --sampleSheet .ci_stuff/test_sampleSheet.tsv --snakemakeOptions " --dryrun --conda-prefix /tmp" .ci_stuff/organism.yaml | tee >(cat 1>&2) | grep -v "conda installation\|Conda environment" | sed '/^\s*$/d' | wc -l`
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 659 ]; then exit 1 ; fi


#allelic+multicomp
WC=`mRNA-seq -m allelic-counting -i allelic_BAM_input/allelic_bams --fromBAM --bamExt '.sorted.bam' -o output --sampleSheet .ci_stuff/test_sampleSheet_multiComp.tsv --snakemakeOptions " --dryrun --conda-prefix /tmp" .ci_stuff/organism.yaml | tee >(cat 1>&2) | grep -v "conda installation\|Conda environment" | sed '/^\s*$/d' | wc -l`
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 659 ]; then exit 1 ; fi
WC=`mRNA-seq -m allelic-mapping,deepTools_qc -i allelic_BAM_input/filtered_bam --fromBAM --bamExt '.filtered.bam' -o output --sampleSheet .ci_stuff/test_sampleSheet_multiComp.tsv --snakemakeOptions " --dryrun --conda-prefix /tmp" --SNPfile allelic_input/snpfile.txt --NMaskedIndex allelic_input/Ngenome .ci_stuff/organism.yaml | tee >(cat 1>&2) | grep -v "conda installation\|Conda environment" | sed '/^\s*$/d' | wc -l`
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 1408 ]; then exit 1 ; fi
WC=`mRNA-seq -m allelic-mapping,deepTools_qc,alignment-free -i PE_input -o output --sampleSheet .ci_stuff/test_sampleSheet_multiComp.tsv --snakemakeOptions " --dryrun --conda-prefix /tmp" --VCFfile allelic_input/file.vcf.gz --strains strain1 .ci_stuff/organism.yaml | tee >(cat 1>&2) | grep -v "conda installation\|Conda environment" | sed '/^\s*$/d' | wc -l`
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 3294 ]; then exit 1 ; fi

WC=`noncoding-RNA-seq -i PE_input -o output --snakemakeOptions " --dryrun --conda-prefix /tmp" .ci_stuff/organism.yaml | tee >(cat 1>&2) | grep -v "conda installation\|Conda environment" | sed '/^\s*$/d' | wc -l`
if [ ${PIPESTATUS[0]} -ne 0 ] || [ $WC -ne 1370 ]; then exit 1 ; fi
Expand Down
2 changes: 1 addition & 1 deletion snakePipes/shared/rscripts/DESeq2.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ importfunc <- snakemake@params[["importfunc"]]
allelic_info <- as.logical(snakemake@params[["allele_info"]])
tx2gene_file <- snakemake@params[["tx2gene_file"]]
rmdTemplate <- snakemake@params[["rmdTemplate"]]
formulaInput <- snakemake@params[["formula"]]
formulaInput <- as.character(snakemake@params[["formula"]])
wdir <- snakemake@params[["outdir"]]

setwd(wdir)
Expand Down
2 changes: 1 addition & 1 deletion snakePipes/workflows/mRNA-seq/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ clusterPAS:
## further options
mode: alignment,deepTools_qc
sampleSheet:
formula:
formula: ""
rMats: False
bwBinSize: 25
fastqc: False
Expand Down
2 changes: 1 addition & 1 deletion snakePipes/workflows/mRNA-seq/mRNA-seq
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def parse_args(defaults={"verbose": False, "configFile": None,
"alignerOptions": None,
"featureCountsOptions": "-C -Q 10 --primary",
"filterGTF": None, "sampleSheet": None,
"formula": None,
"formula": "",
"reads": ["_R1", "_R2"], "ext": ".fastq.gz",
"bwBinSize": 25, "dnaContam": False, "plotFormat": "png",
"fromBAM": False, "bamExt": ".bam", "pairedEnd": True,
Expand Down

0 comments on commit 770ae19

Please sign in to comment.