Mercurial > repos > davidvanzessen > change_o
comparison create_germlines.sh @ 0:183edf446dcf draft default tip
Uploaded
| author | davidvanzessen |
|---|---|
| date | Mon, 17 Jul 2017 07:44:27 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:183edf446dcf |
|---|---|
| 1 #!/bin/bash | |
| 2 dir="$(cd "$(dirname "$0")" && pwd)" | |
| 3 | |
| 4 input=$1 | |
| 5 type=$2 | |
| 6 cloned=$3 | |
| 7 output=$4 | |
| 8 | |
| 9 cp $input $PWD/input.tab #file has to have a ".tab" extension | |
| 10 | |
| 11 if [ "true" == "$cloned" ] ; then | |
| 12 cloned="--cloned" | |
| 13 else | |
| 14 cloned="" | |
| 15 fi | |
| 16 | |
| 17 mkdir $PWD/outdir | |
| 18 | |
| 19 #/home/galaxy/anaconda3/bin/python $dir/CreateGermlines.py -d $PWD/input.tab -r $dir/IMGT_Human_IGH[VDJ].fasta --outdir $PWD/outdir --outname output -g $type $cloned | |
| 20 #/data/users/david/anaconda3/bin/python $dir/CreateGermlines.py -d $PWD/input.tab -r $dir/IMGT_Human_IGH[VDJ].fasta --outdir $PWD/outdir --outname output -g $type $cloned | |
| 21 python3 $dir/CreateGermlines.py -d $PWD/input.tab -r $dir/IMGT_Human_IGH[VDJ].fasta --outdir $PWD/outdir --outname output -g $type $cloned | |
| 22 | |
| 23 mv $PWD/outdir/output_germ-pass.tab $output |
