Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 6 | 0.971 | file_input_element_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 26 | Bio/ExPASy/__init__.py |
2 | 24 | 54 | 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 |
| ||||
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 |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6af4abe0]] | get_prodoc_entry |
1 | 2 | [[#6af4abe0]] | get_prosite_raw |
2 | 1 | [[#6af4ab40]] | "http://www.expasy.ch/cgi-bin/get-prodoc-entry" |
2 | 2 | [[#6af4ab40]] | "http://www.expasy.ch/cgi-bin/get-prosite-raw.pl" |
3 | 1 | [[#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.' """ |
3 | 2 | [[#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. """ |
4 | 1 | [[#753ce960]] | get_prosite_entry |
4 | 2 | [[#753ce960]] | get_sprot_raw |
5 | 1 | [[#6af4a9e0]] | "http://www.expasy.ch/cgi-bin/get-prosite-entry" |
5 | 2 | [[#6af4a9e0]] | "http://www.expasy.ch/cgi-bin/get-sprot-raw.pl" |
6 | 1 | [[#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.' """ |
6 | 2 | [[#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.' """ |