Skip to content

Commit

Permalink
added absolute path to final_qa steps for Slurm cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
drkennetz committed Feb 24, 2022
1 parent 0bb844b commit 8a96382
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/scripts/setup_cicero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,16 @@ init_step final_qa
cat > `get_step_qc_script` <<EOF
#!/bin/bash
# QC:
echo -n "" > final_qa.txt
echo -n "" > $RUN_DIR/final_qa.txt
anyfail=no
while read case_bam
do
if ! qcquiet.sh `get_step_failed_qc_dir`/\$case_bam qc_cicerofilter.sh $DATA_DIR/ \$case_bam
then
anyfail=yes
echo "FAIL \$case_bam" >> final_qa.txt
echo "FAIL \$case_bam" >> $RUN_DIR/final_qa.txt
else
echo "PASS \$case_bam" >> final_qa.txt
echo "PASS \$case_bam" >> $RUN_DIR/final_qa.txt
fi
done < $RUN_DIR/config.txt
if [ "\$anyfail" == "yes" ]
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/setup_cicero_itd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,16 +300,16 @@ init_step final_qa
cat > `get_step_qc_script` <<EOF
#!/bin/bash
# QC:
echo -n "" > final_qa.txt
echo -n "" > $RUN_DIR/final_qa.txt
anyfail=no
while read case_bam
do
if ! qcquiet.sh `get_step_failed_qc_dir`/\$case_bam qc_cicerofilter.sh $DATA_DIR/ \$case_bam
then
anyfail=yes
echo "FAIL \$case_bam" >> final_qa.txt
echo "FAIL \$case_bam" >> $RUN_DIR/final_qa.txt
else
echo "PASS \$case_bam" >> final_qa.txt
echo "PASS \$case_bam" >> $RUN_DIR/final_qa.txt
fi
done < $RUN_DIR/config.txt
if [ "\$anyfail" == "yes" ]
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/setup_cicero_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,16 @@ init_step final_qa
cat > `get_step_qc_script` <<EOF
#!/bin/bash
# QC:
echo -n "" > final_qa.txt
echo -n "" > $RUN_DIR/final_qa.txt
anyfail=no
while read case_bam
do
if ! qcquiet.sh `get_step_failed_qc_dir`/\$case_bam qc_classification.sh $DATA_DIR/\$case_bam final_fusions final_fusions
then
anyfail=yes
echo "FAIL \$case_bam" >> final_qa.txt
echo "FAIL \$case_bam" >> $RUN_DIR/final_qa.txt
else
echo "PASS \$case_bam" >> final_qa.txt
echo "PASS \$case_bam" >> $RUN_DIR/final_qa.txt
fi
done < $ANLS_CONFIG
if [ "\$anyfail" == "yes" ]
Expand Down

0 comments on commit 8a96382

Please sign in to comment.