biopython v1.71.0 Bio.Nexus.Nexus.CharBuffer

Helps reading NEXUS-words and characters from a buffer (semi-PRIVATE).

This class is not intended for public use (any more).

Link to this section Summary

Functions

Initialize the class

Iterates over NEXUS characters in the file

Deprecated Python 2 style alias for Python 3 style next method

Checks for next non whitespace character in NEXUS file

Keeps iterating the NEXUS file until it reaches a target character

Return the next NEXUS word from a string

Returns a word stored in the buffer

Return the rest of the string without parsing

Skips whitespace characters in NEXUS file

Link to this section Functions

Initialize the class.

Iterates over NEXUS characters in the file.

Deprecated Python 2 style alias for Python 3 style next method.

Link to this function next_nonwhitespace()

Checks for next non whitespace character in NEXUS file.

Keeps iterating the NEXUS file until it reaches a target character.

Returns the word found in the NEXUS file.

Return the next NEXUS word from a string.

This deals with single and double quotes, whitespace and punctuation.

Returns a word stored in the buffer.

Return the rest of the string without parsing.

Link to this function skip_whitespace()

Skips whitespace characters in NEXUS file.