Skip to content

Instantly share code, notes, and snippets.

@wbazant
Created February 7, 2017 12:28
Show Gist options
  • Save wbazant/485fbbb3a0859a95596e79ad1564244d to your computer and use it in GitHub Desktop.
Save wbazant/485fbbb3a0859a95596e79ad1564244d to your computer and use it in GitHub Desktop.
cd ~/dev/atlas-annotations
# modify the annsrcs to be (much) smaller
# test environment
source util/create_test_env.sh /var/tmp/will-it-go
# use the whole file from prod
scp ebi-cli:/nfs/production3/ma/home/atlas3-production/bioentity_properties/go/go.alternativeID2CanonicalID.tsv /var/tmp/will-it-go/bioentity_properties/go/go.alternativeID2CanonicalID.tsv
# get some properties populated in test environment
export JAVA_OPTS=-Xmx3000M
amm -s -c 'import $file.src.pipeline.main; main.forceAll();'
# control environment
source util/create_test_env.sh /var/tmp/control-go
amm -s -c 'import $file.src.pipeline.main; main.forceAll();'
# today I learned you can diff whole directories
diff /var/tmp/control-go/bioentity_properties/ensembl /var/tmp/will-it-go/bioentity_properties/ensembl > /var/tmp/diff-go
# the diffs seem right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment