STAR --genomeDir [path-to-genome-index] --readFilesIn Sample_R1.fastq.gz Sample_R2.fastq.gz --readFilesCommand zcat --runThreadN 4
featureCounts -a genes.saf -o output.counts [BAM FILES] -F SAF -T 8
fastqc *.fastq.gz # check fastq files samtools flagstat [BAM FILES] # check