Skip to content

Instantly share code, notes, and snippets.

@tbrittoborges
Created February 8, 2018 21:41
Show Gist options
  • Select an option

  • Save tbrittoborges/5c3c7fe7b125d56c8759d4a0e18456a7 to your computer and use it in GitHub Desktop.

Select an option

Save tbrittoborges/5c3c7fe7b125d56c8759d4a0e18456a7 to your computer and use it in GitHub Desktop.
code for the Carina website
def analyse(genome, set_a, match_a='any', region_a='any',
set_b=None, match_b='any', region_b='any',
combine='or', genes=None, window_a=-1, window_b=-1,
datadir=None):
# It takes the name of the genome assembly to use, and at least a list of set A regulator names.
# A simple analysis run with a custom regulator would be:
from dorina.run import analyse
results = analyse('hg19', ['/path/to/custom/regulator.bed', 'PARCLIP_PUM2_hg19'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment