pydna.readers
Provides two functions, read and read_primer.
- pydna.readers.read(data, ds=True)[source]
This function is similar the
parse()
function but expects one and only one sequence or and exception is thrown.- Parameters:
data (string) – see below
ds (bool) – Double stranded or single stranded DNA, if True return Dseqrecord objects, else Bio.SeqRecord objects.
- Returns:
contains the first Dseqrecord or SeqRecord object parsed.
- Return type:
Notes
The data parameter is similar to the data parameter for
parse()
.See also
parse