Skip to content

Commit

Permalink
[finishes #46305633] It doesn't remove SUPPORTED_GENOMES, but it make…
Browse files Browse the repository at this point in the history
…s sure that it is pulling its contents from the GenomeBuild table. If we actually want to replace all instances of it with [genome.name for genome in GenomeBuild.objects.filter(default_build=True)], that works too, but this seemed the least intrusive
  • Loading branch information
psm3426 committed Aug 6, 2013
1 parent 74c97a6 commit 3e68f13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion refinery/annotation_server/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SUPPORTED_GENOMES = ['hg19', 'dm3', 'ce10', 'mm9', 'spombe_155']
from annotation_server.models import GenomeBuild

SUPPORTED_GENOMES = [genome.name for genome in GenomeBuild.objects.filter(default_build=True)]
EXTENDED_GENES = {'hg19': '_GenCode', 'dm3':'_FlyBase', 'ce10':'_WormBase'}
GAP_REGIONS = ['hg19', 'dm3']
MAPPABILITY_THEORETICAL = ['hg19']

0 comments on commit 3e68f13

Please sign in to comment.