annotate fastq2sam_wrapper.sh @ 19:f1c0e0384c52 draft

Deleted selected files
author devteam
date Mon, 10 Feb 2014 22:36:28 -0500
parents 86e7e072c4c9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
1 #!/bin/bash
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
2
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
3 if [ "$1" == "sam" ]
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
4 then
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
5 output=$2.sam
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
6 else
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
7 output=$2
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
8 fi
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
9
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
10 java -XX:DefaultMaxRAMFraction=1 -XX:+UseParallelGC -jar "$JAVA_JAR_PATH/FastqToSam.jar" SAMPLE_NAME="$3" READ_GROUP_NAME="$4" OUTPUT=$output ${*:5}
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
11
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
12 if [ "$1" == "sam" ]
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
13 then
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
14 mv $2.sam $2
86e7e072c4c9 Uploaded
devteam
parents:
diff changeset
15 fi