title: STAR:构建小鼠的基因组索引 tags: [] id: '1932' categories:
https://www.gencodegenes.org/mouse/
https://www.ncbi.nlm.nih.gov/genome/browse#!/overview/
http://asia.ensembl.org/info/about/species.html
zcat XL789vs123/XL1/default_s.fq.gz head #这个例子只有50, 因此 sjdbOverhang 为49
wget https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M29/GRCm39.primary_assembly.genome.fa.gz
wget https://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M29/gencode.vM29.primary_assembly.annotation.gtf.gz
gunzip *.gz
conda activate star
nano 2.sh
chmod +x 2.sh
#!/bin/sh
STAR \
--runMode genomeGenerate \
--genomeDir index \
--genomeFastaFiles GRCm39.primary_assembly.genome.fa \
--sjdbOverhang 49 \
--sjdbGTFfile gencode.vM29.primary_assembly.annotation.gtf \
--runThreadN 8