Skip to content

Commit

Permalink
fix: adds metro to path fix #22
Browse files Browse the repository at this point in the history
  • Loading branch information
slsevilla committed Mar 28, 2024
1 parent 052af39 commit 6df3794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metro_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if [[ $flag == "build" ]]; then
echo "--building"

echo "#!/bin/sh
export PATH=$PATH:/data/CCBR_Pipeliner/bin/netMHC/netMHCpan-4.1
module load samtools cufflinks
if [[ ! -f $BUILD_DIR/$REF_FA_SHORT ]]; then
Expand Down Expand Up @@ -119,6 +120,7 @@ if [[ $flag == "prepare" ]]; then
echo "--prepare"

echo "#!/bin/sh
export PATH=$PATH:/data/CCBR_Pipeliner/bin/netMHC/netMHCpan-4.1
$METRO_LOC/./metro prepare \
--mafFiles $INPUT_MAF_FILES \
--outputDir $PREPARE_DIR \
Expand All @@ -137,6 +139,7 @@ if [[ $flag == "find" ]]; then
VAF=`echo $vafFilter | cut -f2 -d"."`

echo "#!/bin/sh
export PATH=$PATH:/data/CCBR_Pipeliner/bin/netMHC/netMHCpan-4.1
module load python/3.8
$METRO_LOC/./metro find \
--input $PREPARE_DIR/${prefix}_VAF${VAF}0_Variant.csv \
Expand Down Expand Up @@ -164,6 +167,7 @@ if [[ $flag == "predict" ]]; then
sh=$sh_dir/${flag}_${a}.sh

echo "#!/bin/sh
export PATH=$PATH:/data/CCBR_Pipeliner/bin/netMHC/netMHCpan-4.1
module load python/3.8
cd $METRO_LOC
Expand Down

0 comments on commit 6df3794

Please sign in to comment.