CloneSet238


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27260.971file_input_element_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12726
Bio/ExPASy/__init__.py
22454
Bio/ExPASy/__init__.py
Clone Instance
1
Line Count
27
Source Line
26
Source File
Bio/ExPASy/__init__.py

def get_prodoc_entry(id,cgi = "http://www.expasy.ch/cgi-bin/get-prodoc-entry"):
                                                                              
    """get_prodoc_entry(id,
    cgi='http://www.expasy.ch/cgi-bin/get-prodoc-entry') -> handle

    Get a handle to a PRODOC entry at ExPASy in HTML format. 

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'There is no PROSITE documentation entry XXX. Please try again.'
    """ 
    # Open a handle to ExPASy.
    handle = urllib.urlopen("%s?%s"%(cgi,id)) 
    return handle 

def get_prosite_entry(id,cgi = "http://www.expasy.ch/cgi-bin/get-prosite-entry"):
                                                                            
    """get_prosite_entry(id,
    cgi='http://www.expasy.ch/cgi-bin/get-prosite-entry') -> handle

    Get a handle to a PROSITE entry at ExPASy in HTML format.

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'There is currently no PROSITE entry for XXX. Please try again.'
    """ 
    handle = urllib.urlopen("%s?%s"%(cgi,id)) 
    return handle 


Clone Instance
2
Line Count
24
Source Line
54
Source File
Bio/ExPASy/__init__.py

def get_prosite_raw(id,cgi = "http://www.expasy.ch/cgi-bin/get-prosite-raw.pl"):
                                                                               
    """get_prosite_raw(id,
                       cgi='http://www.expasy.ch/cgi-bin/get-prosite-raw.pl')
    -> handle

    Get a handle to a raw PROSITE or PRODOC entry at ExPASy.

    For a non-existing key, ExPASy returns nothing.
    """ 
    handle = urllib.urlopen("%s?%s"%(cgi,id)) 
    return handle 

def get_sprot_raw(id,cgi = "http://www.expasy.ch/cgi-bin/get-sprot-raw.pl"):
                                                                           
    """get_sprot_raw(id, cgi='http://www.expasy.ch/cgi-bin/get-sprot-raw.pl')
    -> handle

    Get a handle to a raw SwissProt entry at ExPASy.

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'XXX is not a valid identifier.'
    """ 
    handle = urllib.urlopen("%s?%s"%(cgi,id)) 
    return handle 


Clone AbstractionParameter Count: 6Parameter Bindings

def [[#variable6af4abe0]](id,cgi = [[#variable6af4ab40]]):
   [[#variable6af4ab20]]
  # Open a handle to ExPASy.
  handle = urllib.urlopen("%s?%s"%(cgi,id)) 
  return handle 

def [[#variable753ce960]](id,cgi = [[#variable6af4a9e0]]):
   [[#variable6af4a960]]
  handle = urllib.urlopen("%s?%s"%(cgi,id)) 
  return handle 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6af4abe0]]
get_prodoc_entry 
12[[#6af4abe0]]
get_prosite_raw 
21[[#6af4ab40]]
"http://www.expasy.ch/cgi-bin/get-prodoc-entry" 
22[[#6af4ab40]]
"http://www.expasy.ch/cgi-bin/get-prosite-raw.pl" 
31[[#6af4ab20]]
"""get_prodoc_entry(id,
    cgi='http://www.expasy.ch/cgi-bin/get-prodoc-entry') -> handle

    Get a handle to a PRODOC entry at ExPASy in HTML format. 

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'There is no PROSITE documentation entry XXX. Please try again.'
    """ 
32[[#6af4ab20]]
"""get_prosite_raw(id,
                       cgi='http://www.expasy.ch/cgi-bin/get-prosite-raw.pl')
    -> handle

    Get a handle to a raw PROSITE or PRODOC entry at ExPASy.

    For a non-existing key, ExPASy returns nothing.
    """ 
41[[#753ce960]]
get_prosite_entry 
42[[#753ce960]]
get_sprot_raw 
51[[#6af4a9e0]]
"http://www.expasy.ch/cgi-bin/get-prosite-entry" 
52[[#6af4a9e0]]
"http://www.expasy.ch/cgi-bin/get-sprot-raw.pl" 
61[[#6af4a960]]
"""get_prosite_entry(id,
    cgi='http://www.expasy.ch/cgi-bin/get-prosite-entry') -> handle

    Get a handle to a PROSITE entry at ExPASy in HTML format.

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'There is currently no PROSITE entry for XXX. Please try again.'
    """ 
62[[#6af4a960]]
"""get_sprot_raw(id, cgi='http://www.expasy.ch/cgi-bin/get-sprot-raw.pl')
    -> handle

    Get a handle to a raw SwissProt entry at ExPASy.

    For a non-existing key XXX, ExPASy returns an HTML-formatted page
    containing this line:
    'XXX is not a valid identifier.'
    """