
skbio.sequence.Sequence
=======================







   
      
   

   

   
      
   

   
      
   

   
      
   

   

   

   
      
   

   

   
      
   

   

   
      
   

   
      
   

   
      
   

   

   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   

   

   

   

   
      
   

   

   

   
      
   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   








   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   





   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   





   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   





.. currentmodule:: skbio.sequence

.. autoclass:: Sequence




   
   
   .. rubric:: Attributes

   .. autosummary::
   
      ~Sequence.default_write_format
      ~Sequence.observed_chars
      ~Sequence.values
   

   
   .. rubric:: Attributes (inherited)

   .. autoinherit::
   
      ~Sequence.interval_metadata
      ~Sequence.metadata
      ~Sequence.positional_metadata
   
   

   
   
   .. rubric:: Methods

   .. autosummary::
      :toctree:
   
      ~Sequence.concat
   
      ~Sequence.count
   
      ~Sequence.distance
   
      ~Sequence.find_with_regex
   
      ~Sequence.frequencies
   
      ~Sequence.index
   
      ~Sequence.iter_contiguous
   
      ~Sequence.iter_kmers
   
      ~Sequence.kmer_frequencies
   
      ~Sequence.lowercase
   
      ~Sequence.match_frequency
   
      ~Sequence.matches
   
      ~Sequence.mismatch_frequency
   
      ~Sequence.mismatches
   
      ~Sequence.read
   
      ~Sequence.replace
   
      ~Sequence.to_indices
   
      ~Sequence.write
   
   

   
   .. rubric:: Methods (inherited)

   .. autoinherit::
      ~Sequence.has_interval_metadata
      ~Sequence.has_metadata
      ~Sequence.has_positional_metadata
   
   

   
   
   .. rubric:: Special methods

   .. autosummary::
   
      ~Sequence.__bool__
      ~Sequence.__contains__
      ~Sequence.__copy__
      ~Sequence.__deepcopy__
      ~Sequence.__eq__
      ~Sequence.__getitem__
      ~Sequence.__iter__
      ~Sequence.__len__
      ~Sequence.__ne__
      ~Sequence.__reversed__
      ~Sequence.__str__
   

   
   .. rubric:: Special methods (inherited)

   .. autoinherit::
   
      ~Sequence.__ge__
      ~Sequence.__getstate__
      ~Sequence.__gt__
      ~Sequence.__le__
      ~Sequence.__lt__
   
   




   
   .. rubric:: Details

   
   
   .. autoattribute:: Sequence.default_write_format
   
   
   
   .. autoattribute:: Sequence.observed_chars
   
   
   
   .. autoattribute:: Sequence.values
   
   

   
   
   .. automethod:: Sequence.__bool__
   
   
   
   .. automethod:: Sequence.__contains__
   
   
   
   .. automethod:: Sequence.__copy__
   
   
   
   .. automethod:: Sequence.__deepcopy__
   
   
   
   .. automethod:: Sequence.__eq__
   
   
   
   .. automethod:: Sequence.__getitem__
   
   
   
   .. automethod:: Sequence.__iter__
   
   
   
   .. automethod:: Sequence.__len__
   
   
   
   .. automethod:: Sequence.__ne__
   
   
   
   .. automethod:: Sequence.__reversed__
   
   
   
   .. automethod:: Sequence.__str__
   
   
   