CloneSet350


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.972stmt_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15774
Bio/GenBank/__init__.py
25315
BioSQL/BioSeq.py
Clone Instance
1
Line Count
5
Source Line
774
Source File
Bio/GenBank/__init__.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


Clone Instance
2
Line Count
5
Source Line
315
Source File
BioSQL/BioSeq.py

            # 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


Clone AbstractionParameter Count: 1Parameter Bindings

# 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2e7c6fe0]]
cur_feature 
12[[#2e7c6fe0]]
feature