)
class Tag(models.Model):
- tag_name = models.CharField(max_length=100, db_index=True,core=True,blank=False,null=False)
+ tag_name = models.CharField(max_length=100, unique=True,db_index=True,core=True,blank=False,null=False)
TAG_CONTEXT = (
#('Antibody','Antibody'),
#('Cellline', 'Cellline'),
rc = "%1.2f" % (res[1]/1000000.0)
# Color Scheme: green is more than 12M, blue is more than 5M, orange is more than 3M and red is less. For RNAseq, all those thresholds should be doubled
if res[0] > 0:
- bgcolor = '#ff3300' # Red, the color for minimum read count
+ bgcolor = '#FFCDD0' # Red, the color for minimum read count
rc_thr = [12000000,5000000,3000000]
if self.experiment_type == 'RNA-seq':
rc_thr = [20000000,10000000,6000000]