File: cel235.sh

package info (click to toggle)
python-seqcluster 1.2.9%2Bds-5
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 113,636 kB
  • sloc: python: 5,308; makefile: 184; sh: 122; javascript: 55
file content (30 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# create hsapiends annotation for small rna analisis
# cel235

FINAL="srna-transcripts.gtf"

if [ -e $FINAL ] ; then

    rm $FINAL

fi


if [ ! -e cel.gff3 ] ; then 

    wget ftp://mirbase.org/pub/mirbase/21/genomes/cel.gff3

fi

    awk '$3=="miRNA"' cel.gff3 | sed 's/=/ /g' >> $FINAL 

if [ ! -e Caenorhabditis_elegans.WBcel235.81.gtf.gz ] ; then

    wget ftp://ftp.ensembl.org/pub/release-81/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.81.gtf.gz

fi

    zcat  wgEncodeGencodeBasicVM4.txt.gz | grep -v exon  >> $FINAL