cmap / slice-reports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slice-reports

A module for moving compounds/asssets from project A to project B.

Warning: This would make changes to existing files so make sure to use a test directory on s3 (for example analysis.clue.io/etl/) while testing.

  1. Checkout this repository
  2. Edit src/input.json to reflect the changes you would like to make
  • screen_root - Should point to the S# root of the screen (for e.g analysis.clue.io)
  • src_project - The project that holds the pert that needs to be moved
  • dest_project - The project that the pert would be moved into
  • pert_id - The pert_id to move to destination project
  • pert_plate - The pert plate that the pert_id is on
  1. cd to the checkout directory and run
    • npm install
    • tsc --outDir dist to compile the src
    • npm run start
  2. The last command will do the following
    • Check out the src and destination projects into the etl folder
    • Copy the pert_id folder from the src project to the det project c.
    • Update LEVEL4 and LEVEL5 csv combat files with the dest project name
    • Delete pert_id folder from the src project
    • Sync the src and det projects back to s3 using the aws s3 sync delete flag

About


Languages

Language:TypeScript 74.0%Language:JavaScript 26.0%