
skbio.sequence.GrammaredSequence
================================







   
      
   

   

   
      
   

   
      
   

   
      
   

   

   

   
      
   

   

   
      
   

   

   
      
   

   
      
   

   
      
   

   

   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   

   

   

   

   
      
   

   

   

   
      
   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   








   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   





   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   

   
      
         
      
   





   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   

   
      
   





.. currentmodule:: skbio.sequence

.. autoclass:: GrammaredSequence




   
   
   .. rubric:: Attributes

   .. autosummary::
   
      ~GrammaredSequence.alphabet
      ~GrammaredSequence.default_gap_char
      ~GrammaredSequence.definite_chars
      ~GrammaredSequence.degenerate_chars
      ~GrammaredSequence.degenerate_map
      ~GrammaredSequence.gap_chars
      ~GrammaredSequence.noncanonical_chars
      ~GrammaredSequence.nondegenerate_chars
      ~GrammaredSequence.wildcard_char
   

   
   .. rubric:: Attributes (inherited)

   .. autoinherit::
   
      ~GrammaredSequence.default_write_format
      ~GrammaredSequence.interval_metadata
      ~GrammaredSequence.metadata
      ~GrammaredSequence.observed_chars
      ~GrammaredSequence.positional_metadata
      ~GrammaredSequence.values
   
   

   
   
   .. rubric:: Methods

   .. autosummary::
      :toctree:
   
      ~GrammaredSequence.definites
   
      ~GrammaredSequence.degap
   
      ~GrammaredSequence.degenerates
   
      ~GrammaredSequence.expand_degenerates
   
      ~GrammaredSequence.find_motifs
   
      ~GrammaredSequence.gaps
   
      ~GrammaredSequence.has_definites
   
      ~GrammaredSequence.has_degenerates
   
      ~GrammaredSequence.has_gaps
   
      ~GrammaredSequence.has_nondegenerates
   
      ~GrammaredSequence.nondegenerates
   
      ~GrammaredSequence.to_definites
   
      ~GrammaredSequence.to_regex
   
   

   
   .. rubric:: Methods (inherited)

   .. autoinherit::
      ~GrammaredSequence.concat
      ~GrammaredSequence.count
      ~GrammaredSequence.distance
      ~GrammaredSequence.find_with_regex
      ~GrammaredSequence.frequencies
      ~GrammaredSequence.has_interval_metadata
      ~GrammaredSequence.has_metadata
      ~GrammaredSequence.has_positional_metadata
      ~GrammaredSequence.index
      ~GrammaredSequence.iter_contiguous
      ~GrammaredSequence.iter_kmers
      ~GrammaredSequence.kmer_frequencies
      ~GrammaredSequence.lowercase
      ~GrammaredSequence.match_frequency
      ~GrammaredSequence.matches
      ~GrammaredSequence.mismatch_frequency
      ~GrammaredSequence.mismatches
      ~GrammaredSequence.read
      ~GrammaredSequence.replace
      ~GrammaredSequence.to_indices
      ~GrammaredSequence.write
   
   

   
   

   
   .. rubric:: Special methods (inherited)

   .. autoinherit::
   
      ~GrammaredSequence.__bool__
      ~GrammaredSequence.__contains__
      ~GrammaredSequence.__copy__
      ~GrammaredSequence.__deepcopy__
      ~GrammaredSequence.__eq__
      ~GrammaredSequence.__ge__
      ~GrammaredSequence.__getitem__
      ~GrammaredSequence.__getstate__
      ~GrammaredSequence.__gt__
      ~GrammaredSequence.__iter__
      ~GrammaredSequence.__le__
      ~GrammaredSequence.__len__
      ~GrammaredSequence.__lt__
      ~GrammaredSequence.__ne__
      ~GrammaredSequence.__reversed__
      ~GrammaredSequence.__str__
   
   




   
   .. rubric:: Details

   
   
   .. autoattribute:: GrammaredSequence.alphabet
   
   
   
   .. autoattribute:: GrammaredSequence.default_gap_char
   
   
   
   .. autoattribute:: GrammaredSequence.definite_chars
   
   
   
   .. autoattribute:: GrammaredSequence.degenerate_chars
   
   
   
   .. autoattribute:: GrammaredSequence.degenerate_map
   
   
   
   .. autoattribute:: GrammaredSequence.gap_chars
   
   
   
   .. autoattribute:: GrammaredSequence.noncanonical_chars
   
   
   
   .. autoattribute:: GrammaredSequence.nondegenerate_chars
   
   
   
   .. autoattribute:: GrammaredSequence.wildcard_char
   
   

   
   