CloneSet213


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.982compound_stmt
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11414
Bio/utils.py
21429
Bio/utils.py
Clone Instance
1
Line Count
14
Source Line
14
Source File
Bio/utils.py

def translate(seq,id = None): 
    "Translate a sequence (DEPRECATED)." 
    import warnings 
    warnings.warn("Bio.utils.translate() has been deprecated, and we"+" intend to remove it in a future release of Biopython."+" Please use the translate method or function in Bio.Seq"+" instead, as described in the Tutorial.",DeprecationWarning) 




    if id is None: 
         s = "translator" 
    else: 
         s = "translator.id.%d"%id 
    translator = default_manager.resolve(seq.alphabet,s) 
    return translator.translate(seq) 


Clone Instance
2
Line Count
14
Source Line
29
Source File
Bio/utils.py

def translate_to_stop(seq,id = None): 
    "Translate a sequence up to the first in frame stop codon (DEPRECATED)." 
    import warnings 
    warnings.warn("Bio.utils.translate_to_stop() has been deprecated, and we"+" intend to remove it in a future release of Biopython."+" Please use the translate method or function in Bio.Seq"+" instead, as described in the Tutorial.",DeprecationWarning) 




    if id is None: 
         s = "translator" 
    else: 
         s = "translator.id.%d"%id 
    translator = default_manager.resolve(seq.alphabet,s) 
    return translator.translate_to_stop(seq) 


Clone AbstractionParameter Count: 3Parameter Bindings

def [[#variable19feb180]](seq,id = None):
   [[#variable19feb100]]
  import warnings 
  warnings.warn( [[#variable19feaea0]]+" intend to remove it in a future release of Biopython."+" Please use the translate method or function in Bio.Seq"+" instead, as described in the Tutorial.",DeprecationWarning) 
  if id is None:
  
    s = "translator" 
  else:
  
    s = "translator.id.%d"%id 
  translator = default_manager.resolve(seq.alphabet,s) 
  return translator. [[#variable19feb180]](seq) 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#19feb180]]
translate_to_stop 
12[[#19feb180]]
translate 
21[[#19feb100]]
"Translate a sequence up to the first in frame stop codon (DEPRECATED)." 
22[[#19feb100]]
"Translate a sequence (DEPRECATED)." 
31[[#19feaea0]]
"Bio.utils.translate_to_stop() has been deprecated, and we" 
32[[#19feaea0]]
"Bio.utils.translate() has been deprecated, and we"