cpg_islands – Finding CpG islands in genetic sequences.
cpg_islands.utils — Miscellaneous utilities
Bases: list
Event subscription.
A list of callable objects. Calling an instance of this will cause a call to each item in the list in ascending order by index.
Example Usage: >>> def f(x): ... print ‘f({0})’.format(x) >>> def g(x): ... print ‘g({0})’.format(x) >>> e = Event() >>> e() >>> e.append(f) >>> e(123) f(123) >>> e.remove(f) >>> e() >>> e += (f, g) >>> e(10) f(10) g(10) >>> del e[0] >>> e(2) g(2)
cpg_islands.views — View interfaces
Bases: object
Bases: object
Set the query text which has been translated to Entrez search terms.
| Parameters: | query_translation (str) – the translated query |
|---|
Set the list of sequence ids.
| Parameters: | result (list) – list of sequence ids |
|---|
Set the selected sequence.
| Parameters: | seq_str (str) – the sequence data |
|---|
Set the selected sequence’s description.
| Parameters: | desc (str) – sequence’s description |
|---|
Set the length of the sequence.
| Parameters: | len (str) – sequence length as a string |
|---|
Bases: object
Highlight the subsequence within the global sequence.
| Parameters: |
|
|---|
Set the name of the algorithm used.
| Parameters: | algo_name (str) – the algorithm name |
|---|
Set end index of the island
| Parameters: | end_str (str) – end index of island |
|---|
Set the execution time of the algorithm.
| Parameters: | exec_time_str – execution time as a string |
|---|
Set GC ratio of the island.
| Parameters: | gc_ratio_str – GC ratio of island |
|---|
Set the global sequence string.
| Parameters: | seq_str (str) – DNA sequence of feature |
|---|
Set the CpG island locations.
| Parameters: | islands (list of tuple) – CpG island locations |
|---|
Set length of the island.
| Parameters: | length (str) – length of island |
|---|
Set observed/expected CpG ratio of the island.
| Parameters: | obs_exp_cpg_ratio_str (str) – observed/expected ratio |
|---|
Bases: object
Set the list of algorithm names.
| Parameters: | algorithm_names (list of str) – list of algorithm names |
|---|
Set the size of the CpG island.
| Parameters: | island_size (str) – number of bases in the island as a string |
|---|
Set minimum GC ratio.
| Parameters: | min_gc_ratio (str) – the ratio of Guanine/Cytosine as a string |
|---|
Set the minimum observed/expected CpG ratio.
| Parameters: | min_gc_ratio (str) – the ratio of Guanine/Cytosine as a string |
|---|
Set the sequence text.
| Parameters: | seq_str (str) – the sequence in string form |
|---|
Show the user an error dialog.
| Parameters: | message (str) – error message |
|---|
Called when the form is submitted, i.e., submit is clicked by the user. Callbacks should look like:
| Parameters: |
|
|---|