GMOD / GenomeFeaturesPythonWidget

Jupyter Notebook widget that will automatically launch genome widgets
0 stars 0 forks source link

support configurable servers, tracks, etc. #3 #1

Open nathandunn opened 6 years ago

nathandunn commented 6 years ago

https://docs.google.com/document/d/1JJ8s-YMOoNZQ-gQ-YqL5vTlxbXcbuTaqyHpuZkMSQkI/edit#heading=h.9qvpznubphjs

GenomeFeature(chromosome='3',gene='sox9b',genome='Danio rerio',title='sox9b',highlightNames=['sox9b'])

GenomeFeature(action=’getServer’)
GenomeFeature(action=’getGenomes’,server=’’)
GenomeFeature(action=’getTracks’,server=’’,genome=’’)

// convert to a contexts containing object
// Useful default behavior:
def gf = new GenomeFeature() // can plugin any defaults here
gf.display( ‘Danio Rerio’,‘ch3:195151-198881’)
gf.display( ‘hox1’) // defaults to Homo Sapien
gf.display( ‘Danio Rerio’,‘sox9b’)
// non-default functionality
gf.getTracks() // using the default genome
gf.setDefaultTrack(‘’) // using the default genome
gf.getGenomes()
gf.setDefaultGenome(‘’) 
gf.getServer()
gf.setServer(‘’)
nathandunn commented 6 years ago

moved

nathandunn commented 6 years ago

Other ref: