-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrabvProject.glue
62 lines (40 loc) · 1.78 KB
/
rabvProject.glue
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
delete project rabv
create project rabv "Core GLUE project for the rabies virus (RABV)" --minVersion 1.1.107
schema-project rabv
run file glue/rabvSchemaExtensions.glue
exit
project rabv
run file glue/rabvProjectSettings.glue
run file glue/rabvModules.glue
run file glue/m49_countries/populateM49All.glue
# Import sources containing reference sequences
import source sources/ncbi-refseqs
import source sources/ncbi-refseqs-outgroup
# Define features
run file glue/rabvFeatures.glue
# Populate sequence table fields from GenBank XML
module rabvGenbankXmlPopulator populate -w "source.name in ('ncbi-refseqs', 'ncbi-refseqs-outgroup')"
# Import data from tabular
module textFilePopulatorRefSet populate -f tabular/reference-set-data.tsv
# this alignment was generated by rabvAlign509RefseqsMafft.glue, followed by
# some hand-alignment, to remove incorrect large gaps introduced at the end of a few sub-genomic sequences.
module blastFastaAlignmentImporter
import AL_UNC_509_REFSEQS_HM -f alignments/alUnc509RefseqsMafftHandModified.fna
exit
# Create reference sequences
run file glue/rabvReferences.glue
# Add feature locations to the reference sequences
run script glue/rabvAddFeatureLocations.js
# Import alignment tree
run file glue/rabvAlignmentTree.glue
# Check feature locations
#run script glue/rabvCheckFeatureLocations.js
# hack: the INFORMATIONAL metatag has overloaded semantics
# on the one hand if it is not 'true' it interferes with how inherit feature-location works,
# on the other hand, we want it unset so that people can download whole-genome nucleotide alignments
feature whole_genome unset metatag INFORMATIONAL
# Import phylogeny
run file glue/rabvImportPhylogeny.glue
# Validate
validate
exit