Created
February 5, 2017 01:35
-
-
Save allenday/4e9c43b025b7059271382d4701535fe1 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
for B in $(find * -size 0); do | |
C=${B/.bam/}; | |
echo $C; | |
java -jar ~/bin/picard.jar FastqToSam F1=$(ls -1 ${C}_*R1*.fastq.gz) O=$C.bam SAMPLE_NAME=$C; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment