You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# launch a prediction for 3000 HBV queries, using the pre-built HBV database
111
117
# queries were already downloaded (via your git clone)
@@ -123,10 +129,44 @@ res-queries-3000.txt
123
129
queries-3000-circ300.fasta
124
130
```
125
131
126
-
# Execution
132
+
# Preparing your own database
133
+
134
+
To use SHERPAS with your own viral model, you will need to prepare the following:
135
+
* A multiple alignement of COMPLETE viral genomes. And only "pure" types shouldbe alignedd, meaning that there should be no recombinant genomes in this dataset. Of course, this notion is relative to time, as all sequenced genomes are likely recombinant of past types. But aim for a clear segragation of your genomes based on types. Discard any genomes already known to be a recombinant of selected types.
136
+
* A phylogeny built from this alignment, using ML reconstruction (any software : phyml, raxml, iq-tree...). Avoid distance-based reconstruction, such as NJ-based constructions.
137
+
* The `phyml` software installed and accessible via command-line (see instructions below). Recommended version is 3.3.20190909 from Bioconda.
138
+
139
+
## Example of database creation for HBV
140
+
141
+
Building your own database currently require to build SHERPAS from sources !
142
+
See instructions above.
143
+
144
+
```shell
145
+
# install phyml using conda
146
+
conda create -n phyml_3.3.20190909
147
+
conda activate phyml_3.3.20190909
148
+
conda install -c bioconda phyml=3.3.20190909
149
+
150
+
# download the HBV genome alignment and corresponding tree
151
+
TODO
152
+
# download the corresponding tree from https://datadryad.org/downloads/file_stream/537187 => pkDB-HBV-full.zip
153
+
unzip pkDB-HBV-full.zip
154
+
# you will get this file: HBV_tree.tree
155
+
156
+
# we will now build the phylo-k-mer databse using xpas binaries
0 commit comments