Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(68)  |  Call(58)  |  Derive(0)  |  Import(10)
Specify the specific position of a boundary.

o position - The position of the boundary.
o extension - An optional argument which must be zero since we don't
have an extension. The argument is provided so that the same number of
arguments can be passed to all position types.

In this case, there is no fuzziness associated with the position.

>>> p = ExactPosition(5)(more...)

src/b/i/biopython-1.63/Bio/GenBank/__init__.py   biopython(Download)
        assert pos_str.startswith("one-of(")
        assert pos_str[-1]==")"
        parts = [SeqFeature.ExactPosition(int(pos)+offset)
                 for pos in pos_str[7:-1].split(",")]
        if offset == -1:
        return SeqFeature.OneOfPosition(default, choices=parts)
    else:
        return SeqFeature.ExactPosition(int(pos_str)+offset)
 
 

src/b/i/biopython-HEAD/Bio/GenBank/__init__.py   biopython(Download)
        assert pos_str.startswith("one-of(")
        assert pos_str[-1]==")"
        parts = [SeqFeature.ExactPosition(int(pos)+offset)
                 for pos in pos_str[7:-1].split(",")]
        if offset == -1:
        return SeqFeature.OneOfPosition(default, choices=parts)
    else:
        return SeqFeature.ExactPosition(int(pos_str)+offset)
 
 

src/b/i/biopython-1.63/Bio/SeqIO/UniprotIO.py   biopython(Download)
                return SeqFeature.UnknownPosition()
            elif not status:
                return SeqFeature.ExactPosition(position)
            elif status == 'greater than':
                return SeqFeature.AfterPosition(position)

src/b/i/biopython-HEAD/Bio/SeqIO/UniprotIO.py   biopython(Download)
                return SeqFeature.UnknownPosition()
            elif not status:
                return SeqFeature.ExactPosition(position)
            elif status == 'greater than':
                return SeqFeature.AfterPosition(position)

src/b/i/biopython-1.63/Bio/SeqIO/SwissIO.py   biopython(Download)
    #Hack so that feature from 0 to 0 becomes 0 to 0, not -1 to 0.
    try:
        return SeqFeature.ExactPosition(max(0, offset + int(location_string)))
    except ValueError:
        pass

src/b/i/biopython-HEAD/Bio/SeqIO/SwissIO.py   biopython(Download)
    #Hack so that feature from 0 to 0 becomes 0 to 0, not -1 to 0.
    try:
        return SeqFeature.ExactPosition(max(0, offset + int(location_string)))
    except ValueError:
        pass

src/p/y/pydna-0.6.1/pydna/amplify.py   pydna(Download)
from Bio.SeqFeature                 import CompoundLocation
from Bio.SeqFeature                 import FeatureLocation
from Bio.SeqFeature                 import ExactPosition
from Bio.SeqRecord                  import SeqRecord
from pydna.dsdna                    import Dseq

src/p/y/python-dna-0.1.2/pydna/assembly.py   python-dna(Download)
#from find_sub_strings         import common_sub_strings
from Bio.Alphabet.IUPAC      import ambiguous_dna
from Bio.SeqFeature          import SeqFeature, FeatureLocation, ExactPosition
from pydna._simple_paths7    import all_circular_paths_edges
from pydna._simple_paths8    import all_simple_paths_edges

src/p/y/python-dna-0.1.2/pydna/amplify.py   python-dna(Download)
from Bio.SeqFeature                 import SeqFeature
from Bio.SeqFeature                 import FeatureLocation
from Bio.SeqFeature                 import ExactPosition
from Bio.SeqRecord                  import SeqRecord
from pydna.dsdna                    import Dseq, Drecord, rc, parse

src/p/y/pydna-0.6.1/pydna/assembly.py   pydna(Download)
from collections import namedtuple
 
from Bio.SeqFeature import ExactPosition
from Bio.SeqFeature import FeatureLocation
from Bio.SeqFeature import SeqFeature

  1 | 2  Next