Skip to content

Commit

Permalink
AG-1293: Update local data scripts to import and index data into new …
Browse files Browse the repository at this point in the history
…proteomicssrm collection
  • Loading branch information
JessterB committed Nov 6, 2023
1 parent eda4649 commit 58b49e0
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 58b49e0

Please sign in to comment.