Commit 6f214cfa authored by Vincent Michel's avatar Vincent Michel
Browse files

[schema] Relax constraint on reference_base and variant_base, as a deletion...

[schema] Relax constraint on reference_base and variant_base, as a deletion variant could have more than one basis as reference or variant
parent 9ebeac1372e8
......@@ -50,11 +50,11 @@ class Mutation(EntityType):
related_measure = SubjectRelation('GenomicMeasure', cardinality='?*', inlined=True, composite='object')
related_gene = SubjectRelation('Gene', cardinality='?*', inlined=True, composite='object')
# Variant
reference_base = String(vocabulary=('A', 'T', 'G', 'C'), required=True) # Ref, first time
variant_base = String(vocabulary=('A', 'T', 'G', 'C'), required=True) # Variant
reference_base = String(maxsize=256, required=True) # Ref, first time
variant_base = String(maxsize=256, required=True) # Variant
variant_frequency = Float(indexed=True) # Var Freq
p_value = Float() # P-value
coverage = Int() # Coverage
coverage = Float() # Coverage
reference_coverage = Int() # Ref Cov
variant_coverage = Int() # Var Cov
# Ids
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment