- ftp://ftp.ncbi.nlm.nih.gov/sra/reports/Mirroring/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module monitor | |
| go 1.13 | |
| require ( | |
| github.com/jackc/pgx/v4 v4.1.2 | |
| github.com/jinzhu/gorm v1.9.11 | |
| github.com/joho/godotenv v1.3.0 | |
| go.uber.org/zap v1.13.0 | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from elasticsearch import Elasticsearch | |
| cli = Elasticsearch() # may need to create | |
| from elasticsearch_dsl import connections | |
| connections.add_connection('default',cli.client) | |
| import elasticsearch_dsl as dsl | |
| class Study(dsl.Document): | |
| class Index: | |
| name = 'sra_study-zq' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Main { | |
| public static void main(String[] args) { | |
| String s1 = "Taylor Swift"; | |
| String s2 = "John Boyega"; | |
| String s3 = "Emma Stone"; | |
| String s4 = s1.substring(2,s1.length()-3).toLowerCase(); | |
| String s5 = s2.substring(2,s2.length()-3).toLowerCase(); | |
| String s6 = s3.substring(2,s3.length()-3).toLowerCase(); | |
| System.out.println(s1 + ">>>" + s4 + "\n" + s2 + ">>>" + s5 + "\n"+ s3 + ">>>" + s6); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.yeastgenome.org/run_seqtools?format=fasta&type=coding&genes=YAL001C&strains=S288C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To accompany: https://seandavi.github.io/2019/05/single-cell-packages-and-dependencies-in-bioconductor-using-biocpkgtools/ | |
| library(BiocPkgTools) | |
| library(igraph) | |
| library(visNetwork) | |
| bpl = biocPkgList() | |
| bpl_sc = bpl[grepl('SingleCell', bpl$biocViews),] | |
| dep_df = buildPkgDependencyDataFrame() | |
| dep_graph = buildPkgDependencyIgraph(dep_df) | |
| dep_graph_sc = inducedSubgraphByPkgs(dep_graph, bpl_sc$Package ) | |
| ledges <- data.frame(color = c("green", "lightblue", "red"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| digraph Workflow { | |
| node [shape="box"]; | |
| subgraph cluster_0 { | |
| SRA_XML [shape=record label="SRA XML|{Study|Sample|Experiment|Run}"] | |
| XML_TO_JSON [label="XML to JSON"] | |
| SRA_JSON [shape=record label="SRA JSON|{Study|Sample|Experiment|Run}"] | |
| BIOSAMPLE_XML [label="Biosample XML"] | |
| BIOSAMPLE_JSON [label="Biosample JSON"] |
- Will use ELB
- Will use wildcard cert provided by AWS (https://console.aws.amazon.com/acm/)
This installs a set of resources.
Using helm:
Assumes kubernetes cluster created and kubectl configured correctly.
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
- Install postgresql (available charts at https://github.com/helm/charts/tree/master/stable)