-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path05_associate_GO_terms_to_genes.sh
54 lines (31 loc) · 1.58 KB
/
05_associate_GO_terms_to_genes.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#####################################################################################################################################################################
#
# Pipeline used in:
#
# "Gene expression profiling across ontogenetic stages in wood white (Leptidea sinapis) reveals pathways linked to butterfly diapause regulation."
# Luis Leal, Venkat Talla, Thomas Källman, Magne Friberg, Christer Wiklund, Vlad Dincă, Roger Vila, Niclas Backström
# Mol. Eco. (2018)
#
#
#####################################################################################################################################################################
#
# Luis Leal
# Uppsala University, Uppsala, Sweden, 2017
#
#####################################################################################################################################################################
# *********************************************************************************************
#
# Associate GO terms to each Trinity gene
# Dependencies: GO_Associations.py
#
# *********************************************************************************************
# Trinotate output file
# Note: trinotate_annotation_report-invertebrates.xls must be converted to csv format prior to running the following commands.
TRINOUT=trinotate_annotation_report-invertebrates.csv
# uniprot-KB db
UNIPROT_sprot=sprot_OUT_Insecta.txt
# uniprot-trembl db
UNIPROT_trembl=trembl_OUT_Insecta.txt
# Results file
OUTFILE=OUT_GO_Associations.csv
python3 GO_Associations.py $TRINOUT $UNIPROT_sprot $UNIPSPROT_trembl $OUTFILE