Last active
May 28, 2018 12:32
-
-
Save JamesKane/556c74ba2dae4feb5fc5d1a858f5909c to your computer and use it in GitHub Desktop.
Use GATK to create an unaligned BAM from FASTQ data
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
# USAGE: sh fastq_to_sam.sh <fastq1> <fastq2> <sample_name> <read_group> <platform_unit> | |
gatk=~/Genomics/gatk-4.0.4.0/gatk | |
$gatk --java-options "-Xmx8G" FastqToSam \ | |
-FASTQ=$1 \ | |
-FASTQ2=$2 \ | |
-OUTPUT=$3.unmapped.bam \ | |
-READ_GROUP_NAME=$4 \ | |
-SAMPLE_NAME=$3 \ | |
-LIBRARY_NAME=$3 \ | |
-PLATFORM_UNIT=$5 \ | |
-PLATFORM=illumina |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment