Created
March 2, 2018 17:22
-
-
Save telatin/ed49059220bbf1ad7ba93d73713409e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A script listing all .sam files in a directory, proposing the name | |
# for their respective .bam file. | |
for File in *.sam | |
do | |
echo "SAM File: $File" | |
echo "Possible BAM file: ${File/.sam/.bam}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment