Skip to content

Commit

Permalink
fix hyphen where should be underscore in new pi_for_pileup cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaBirmingham committed May 5, 2022
1 parent 2cea374 commit 628db91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/process_sample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ echo -e "$SAMPLEID\tcoverage exit code: $?" >> $WORKSPACE/"$SAMPLEID".exit.log
# Step 11: Heterogeneity scores
{ time (
pi_from_pileup $WORKSPACE/"$SAMPLEID".trimmed.sorted.pileup.txt > $WORKSPACE/"$SAMPLEID".pi_from_pileup.tsv
echo -e "$SAMPLEID\t"$(cat $WORKSPACE/"$SAMPLEID".pi_from_pileup.tsv | tail -1 | cut -f3) > $WORKSPACE/"$SAMPLEID".pi-metric.tsv
echo -e "$SAMPLEID\t"$(cat $WORKSPACE/"$SAMPLEID".pi_from_pileup.tsv | tail -1 | cut -f3) > $WORKSPACE/"$SAMPLEID".pi_metric.tsv
echo -e "$SAMPLEID\tpi metric exit code: $?" >> $WORKSPACE/"$SAMPLEID".exit.log
echo -e "$SAMPLEID\t"$(cat $WORKSPACE/"$SAMPLEID".trimmed.sorted.pileup.variants.tsv | awk '$11 != "ALT_FREQ" && $11 >= 0.05 && $11 <= 0.95' | grep -v "ALT_FREQ" | cut -f2,4 | sort | uniq | wc -l) >> $WORKSPACE/"$SAMPLEID".n_metric.tsv ) ;
} > $WORKSPACE/"$SAMPLEID".log.11.diversity.log 2>&1
Expand Down

0 comments on commit 628db91

Please sign in to comment.