Skip to content

Commit

Permalink
Make gemBS.sh portable on different *nix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Woeste committed Jul 27, 2022
1 parent aa73b0b commit b63eaba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snakemake_wrapper/scripts/gemBS.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/bash
#!/usr/bin/env bash
cd $alignDir
gemBS prepare -c gemBS.conf -t gemBS_cleaned.csv -o gemBS.json
gemBS index
gemBS map
for file in *.bam; do
mv "$file" "$(echo "$file" | sed s/bam/unmarked.bam/)";
for file in *.bam; do
mv "$file" "$(echo "$file" | sed s/bam/unmarked.bam/)";
done
rm *.csi *.err *.md5
exit

0 comments on commit b63eaba

Please sign in to comment.