get-germline 733 Bytes
Newer Older
Mikaël Salson's avatar
Mikaël Salson committed
1 2 3
#!/bin/sh

cd $(dirname $0)
4
wget -N http://www.imgt.org/download/GENE-DB/IMGTGENEDB-GeneList
5 6 7
wget -N http://www.imgt.org/download/GENE-DB/IMGTGENEDB-ReferenceSequences.fasta-nt-WithGaps-F+ORF+inframeP 
wget -N http://www.imgt.org/download/GENE-DB/IMGTGENEDB-ReferenceSequences.fasta-nt-WithoutGaps-F+ORF+allP

8
errors=$(tempfile)
9
python split-from-imgt.py IMGTGENEDB-ReferenceSequences.fasta-nt-WithGaps-F+ORF+inframeP IMGTGENEDB-ReferenceSequences.fasta-nt-WithoutGaps-F+ORF+allP IMGTGENEDB-GeneList 2> $errors
Mikaël Salson's avatar
Mikaël Salson committed
10

11
wget -O IMGT_RELEASE http://www.imgt.org/download/GENE-DB/RELEASE
12

13 14
wget -N -P homo-sapiens http://vidjil.org/germline/IGK-INTRON.fa
wget -N -P homo-sapiens http://vidjil.org/germline/IGK-KDE.fa
15 16 17

cat $errors
rm -f $errors