Created
November 27, 2017 22:32
-
-
Save allgenesconsidered/04e3ad11e742abb8fae50c87f67164cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| PI="/data/home/molvera/opt" | |
| cd /data/home/molvera/wgs-patient-data | |
| for SAMPLE in "MN_P1_S5" "NF_P1_S1" "BT_P1_S2" | |
| do | |
| java -Xmx10g -jar $PI/picard.jar SortSam\ | |
| INPUT=./sam/$SAMPLE.sam\ | |
| OUTPUT=./bam/$SAMPLE.bam\ | |
| SORT_ORDER=coordinate | |
| java -Xmx10g -jar $PI/picard.jar MarkDuplicates\ | |
| INPUT=./bam/$SAMPLE.bam\ | |
| OUTPUT=./bam/$SAMPLE\_d.bam\ | |
| METRICS_FILE=./bam/$SAMPLE\_metrics.txt | |
| java -Xmx10g -jar $PI/picard.jar BuildBamIndex\ | |
| INPUT=./bam/$SAMPLE\_d.bam | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment