Skip to content

Commit

Permalink
Merge pull request #1260 from JessterB/AG-1293
Browse files Browse the repository at this point in the history
AG-1293: Update local data scripts to import and index data into new …
  • Loading branch information
JessterB authored Nov 8, 2023
2 parents 1a46380 + 58b49e0 commit 990bace
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/mongo-create-Indexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ const collections = [
{ ensembl_gene_id: 1 }
]
},
{
name: 'proteomicssrm',
indexes: [
{ ensembl_gene_id: 1 }
]
},
{
name: 'genesbiodomains',
indexes: [
Expand Down
1 change: 1 addition & 0 deletions scripts/mongo-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ mongoimport --db agora --collection genesoverallscores --jsonArray --drop --file
mongoimport --db agora --collection rnaboxdistribution --jsonArray --drop --file ./rna_distribution_data.json
mongoimport --db agora --collection proteomicsboxdistribution --jsonArray --drop --file ./proteomics_distribution_data.json
mongoimport --db agora --collection proteomicstmt --jsonArray --drop --file ./proteomics_tmt.json
mongoimport --db agora --collection proteomicssrm --jsonArray --drop --file ./proteomics_srm.json
mongoimport --db agora --collection genesbiodomains --jsonArray --drop --file ./genes_biodomains.json
mongoimport --db agora --collection biodomaininfo --jsonArray --drop --file ./biodomain_info.json

Expand Down

0 comments on commit 990bace

Please sign in to comment.