Skip to content

RNAseq workflow of running Trimmomatic, HISAT2, Samtools, and Htseq-count

License

Notifications You must be signed in to change notification settings

Stardust64/Zebrafish_RNAseq_workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Hello! This repository contains the scripts used on Stampede2 at TACC to analyze an unpublished mRNA sequencing Zebrafish dataset. The scripts should be run in to order of Trimmomatic, Hisat2, Samtools, and Htseq-count.

#Trimmomatic Script Structure (trims off adapters and low quality sequences):
java -jar ~/bin/trimmomatic.jar PE Path/to/input/R1/fastq.gz Path/to/input/R2/fastq.gz Path/to/output/R1_paired.fastq Path/to/output/R1_unpaired.fastq Path/to/output/R2_paired.fastq Path/to/output/R2_unpaired.fastq ILLUMINACLIP:Path/to/trimmomatic/adapters/TruSeq3-PE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36


#Hisat2 Script Structure (Aligns trimmed reads to genome):
hisat2 -p 8 --dta --rna-strandness RF -x Path/to/indexed/reference/genome.fa -1 Path/to/trimmed/R1_paired.fastq -2 Path/to/trimmed/R2_paired.fastq -S Path/to/output/sample.sam


#Samtools Script Structure (converts SAM to BAM): 
samtools sort -@ 6 -o Path/to/output/sample.bam Path/to/input/sample.sam
samtools index Path/to/output/sample.bam


#Htseq Script Structure (counts aligned reads from a BAM file that overlap features in a reference .gtf annotation file):
htseq-count --stranded=reverse -m union -f bam --order=name -t exon -i gene_id Path/to/sample.bam Path/to/reference/annotation.gtf > sample_counts.txt

About

RNAseq workflow of running Trimmomatic, HISAT2, Samtools, and Htseq-count

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages