-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanipulateGenomeSeqFile.txt
More file actions
22 lines (16 loc) · 1.04 KB
/
manipulateGenomeSeqFile.txt
File metadata and controls
22 lines (16 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
##############################################################
## Create index for mm10 that: ##
## - does not contain extra contig or mitochondrial DNA ##
## - does include sequences for synthetic spike-ins ##
## ##
## Created 3/13/14 by LMS ##
##############################################################
## eliminate any chromosome that starts with 'JH' or 'GL' or 'MT'
sed '/>JH/,/>/{//!d}' mm10.fa | sed '/>JH/d' | sed '/>GL/,/>/{//!d}' | sed '/>GL/d' | sed '/>MT/,/>/{//!d}' | sed '/>MT/d' > mm10.revised.fa
export PATH=$HOME/bin:$PATH
export PYTHONPATH=$HOME/bin:$PYTHONPATH
cd /data/Tabastore3/LauraS/LXS/RNA-Seq/index/
## add synthetic spike-in sequences for alignment
cat /data/Tabastore3/LauraS/BXD/RNA-Seq/GeneNetwork/index/mm10.revised.fa /data/Tabastore3/LauraS/BxH.HxB.Rats/RNA-Seq/spikeSource/ERCC92.fa > mm10.revised.wSpikes.fa
## create bowtie indices
bowtie2-build mm10.revised.wSpikes.fa mm10.revised.wSpikes