-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangeo.sh
More file actions
executable file
·20 lines (17 loc) · 786 Bytes
/
Copy pathchangeo.sh
File metadata and controls
executable file
·20 lines (17 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
echo "What's the file's name?"
read FILE
INFILE=$(readlink -f ${FILE}_atleast-2.fastq)
OUTDIR="output"
NPROC=4
sed -n '1~4s/^@/>/p;2~4p' $INFILE > ${FILE}_atleast-2.fasta
export IGDATA=~/ImmcantationScripts/share/igblast
~/ImmcantationScripts/share/igblast/bin/igblastn \
-germline_db_V ~/ImmcantationScripts/share/igblast/database_igh/rhesus_ig_v\
-germline_db_D ~/ImmcantationScripts/share/igblast/database_igh/rhesus_ig_d \
-germline_db_J ~/ImmcantationScripts/share/igblast/database_igh/rhesus_ig_j \
-auxiliary_data /share/igblast/optional_file/rhesus_monkey_gl.aux \
-domain_system imgt -ig_seqtype Ig -organism rhesus_monkey \
-outfmt '7 std qseq sseq btop' \
-query ${FILE}_atleast-2.fasta \
-out ${FILE}_atleast-2_igh.fmt7