Skip to content

XinpeiYi/FastqToBam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

FastqToBam

Build hg38 index

  • bowtie2-build Homo_sapiens_assembly38.fasta hg38

Transfer fastq to sam file

  • bowtie2 -x hg38 -1 111_R1.fq.gz -2 111_R2.fq.gz -S 111.sam --thread 20

Transfer sam to bam file

  • samtools view -bS 111.sam -o 111.bam

Sort bam

  • samtools sort 111.bam -o 111.sorted.bam --threads 20

Index bam

  • samtools index 111.sorted.bam

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published