with enough microarray samples except for human and mouse.
if options["organisms"] is None:
all_organisms = Organism.objects.exclude(name__in=["HOMO_SAPIENS", "MUS_MUSCULUS"])
else:
organisms = options["organisms"].upper().replace(" ", "_").split(",")
all_organisms = Organism.objects.filter(name__in=organisms)
After Change
// only include organisms with QN targets. We"ll merge groups later.
all_organisms = Organism.objects.all().filter(qn_target__isnull=False)
if options["organisms"] is None:
all_organisms = all_organisms.exclude(name__in=["HOMO_SAPIENS", "MUS_MUSCULUS"])
else:
organisms = options["organisms"].upper().replace(" ", "_").split(",")
all_organisms = all_organisms.filter(name__in=organisms)