Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.972 | stmt_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 774 | Bio/GenBank/__init__.py |
2 | 5 | 315 | BioSQL/BioSeq.py |
| ||||
# Historically a join on the reverse strand has been represented # in Biopython with both the parent SeqFeature and its children # (the exons for a CDS) all given a strand of -1. Likewise, for # a join feature on the forward strand they all have strand +1. # However, we must also consider evil mixed strand examples like # this, join(complement(69611..69724),139856..140087,140625..140650) strands = set(sf.strand for sf in cur_feature.sub_features) if len(strands)==1: cur_feature.strand = cur_feature.sub_features[0].strand else: cur_feature.strand = None # i.e. mixed strands |
| ||||
# To get the parent strand (as done when parsing GenBank files), # need to consider evil mixed strand examples like this, # join(complement(69611..69724),139856..140087,140625..140650) strands = set(sf.strand for sf in feature.sub_features) if len(strands)==1: feature.strand = feature.sub_features[0].strand else: feature.strand = None # i.e. mixed strands |
| |||
# Historically a join on the reverse strand has been represented # in Biopython with both the parent SeqFeature and its children # (the exons for a CDS) all given a strand of -1. Likewise, for # a join feature on the forward strand they all have strand +1. # However, we must also consider evil mixed strand examples like # this, join(complement(69611..69724),139856..140087,140625..140650) # To get the parent strand (as done when parsing GenBank files), # need to consider evil mixed strand examples like this, # join(complement(69611..69724),139856..140087,140625..140650) strands = set(sf.strand for sf in [[#variable2e7c6fe0]].sub_features) if len(strands)==1: [[#variable2e7c6fe0]].strand = [[#variable2e7c6fe0]].sub_features[0].strand else: [[#variable2e7c6fe0]].strand = None # i.e. mixed strands |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2e7c6fe0]] | cur_feature |
1 | 2 | [[#2e7c6fe0]] | feature |