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
This tool is used to programmatically configure and upload batch variants in VCF format to the Seshat annotation server.
32
+
The tool works by building a headless Chrome browser instance and then interacting with the Seshat website directly through simulated key presses and mouse clicks.
33
+
Unfortunately, Seshat does not provide a native programmatic API and one could not be reverse engineered.
34
+
Seshat also utilizes custom JavaScript in their form processing, so a lightweight approach of simply interacting with the HTML form elements was also not possible.
35
+
36
+
##### VCF Input Requirements
37
+
38
+
Seshat will not let the user know why a VCF fails to annotate, but it has been observed that Seshat can fail to parse some of VarDictJava's structural variants (SVs) as valid variant records.
39
+
One solution that has worked in the past is to remove SVs.
40
+
The following command will exclude all variants with a non-empty SVTYPE INFO key:
There are no terms and conditions posted on the Seshat annotation server's website, and there is no server-side `robots.txt` rule set.
47
+
In lieu of usage terms, we strongly encourage all users of this script to respect the Seshat resource by adhering to the following best practice:
48
+
49
+
- Minimize Load: Limit the rate of requests to the server
50
+
- Minimize Connections: Limit the number of concurrent requests
51
+
52
+
If you need to batch process dozens, or hundreds, of VCF callsets, you may consider improving this underlying Python script to randomize the user agent and IP address of your headless browser session to prevent from being labelled as a bot.
53
+
54
+
##### Environment Setup
55
+
56
+
This script relies on Google Chrome:
57
+
58
+
```console
59
+
brew install --cask google-chrome
60
+
```
61
+
62
+
Distributions of MacOS may require you to authenticate the Chrome driver:
63
+
64
+
-https://stackoverflow.com/a/60362134
65
+
66
+
##### References
67
+
68
+
> Soussi, Thierry, et al. “Recommendations for Analyzing and Reporting TP53
69
+
> Gene Variants in the High-Throughput Sequencing Era.” Human Mutation,
70
+
> vol. 35, no. 6, 2014, pp. 766–778., doi:10.1002/humu.22561.
71
+
21
72
## Development and Testing
22
73
23
74
See the [contributing guide](./CONTRIBUTING.md) for more information.
0 commit comments