File size: 501 Bytes
69fb171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

#./Installation.sh
# source env39/bin/activate

#
# ./GNorm2.sh input output
#
INPUT=$1
OUTPUT=$2

# SR
java -Xmx60G -Xms30G -jar GNormPlus.jar ${INPUT} tmp_SR setup.SR.txt

# GNR+SA (CUDA_VISIBLE_DEVICES=3 )
python GeneNER_SpeAss_run.py -i tmp_SR -r tmp_GNR -a tmp_SA -n gnorm_trained_models/geneNER/GeneNER-Bioformer.h5 -s gnorm_trained_models/SpeAss/SpeAss-Bioformer.h5

# GN
java -Xmx60G -Xms30G -jar GNormPlus.jar tmp_SA ${OUTPUT} setup.GN.txt

#rm tmp_SR/*
#rm tmp_GNR/*
#rm tmp_SA/*