Commit 847f2aae authored by Adam Caprez's avatar Adam Caprez
Browse files

Revert "Add cd'ing to correct directory"

Will use the pegasus.change.dir profile option via `config.yaml`
instead.

This reverts commit c26ca54f.
parent c26ca54f
#!/bin/env python
#!/usr/bin/python
import chipathlon.utils
import argparse
......
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
/bin/sort -k 8gr,8gr "$1" | awk 'BEGIN{OFS="\t"}{$r="PEAK_"NR; print $0;}' > "$2"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
/bin/zcat "$1" | awk 'BEGIN{OFS="\t"}{print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' > "$2"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load bedtools
bedtools "$@"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load bowtie
bowtie2 "$@"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load bwa
bwa "$@"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load python/2.7 macs2
macs2 "$@"
......@@ -2,7 +2,6 @@
set -eu -o pipefail
set -o pipefail
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load picard
......
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load R spp
Rscript ${SPP_NODUPS} "$@"
#!/bin/bash
cd $PEGASUS_SCRATCH_DIR
. /util/opt/lmod/lmod/init/profile
module load samtools
samtools "$@"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment