RNA Secondary Structure¶
multimolecule.io.rna_secondary_structure.read_dbn
¶
Python
read_dbn(path: str | Path) -> RnaSecondaryStructureRecord
Parse a dot-bracket (.db/.dbn) file and return a single record.
Source code in multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.write_dbn
¶
Python
write_dbn(
record: RnaSecondaryStructureRecord, path: str | Path
) -> Path
Write a dot-bracket (.db/.dbn) file for a single record.
Source code in multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.read_bpseq
¶
Python
read_bpseq(path: str | Path) -> RnaSecondaryStructureRecord
Parse a BPSEQ file and return a record with dot-bracket notation.
Source code in multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.write_bpseq
¶
Python
write_bpseq(
record: RnaSecondaryStructureRecord, path: str | Path
) -> Path
Write a BPSEQ file from a record with dot-bracket notation.
Source code in multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.read_rna_secondary_structure_st
¶
Python
read_rna_secondary_structure_st(
path: str | Path,
) -> RnaSecondaryStructureRecord
Parse sequence and dot-bracket data from a bpRNA .st/.sta file.
Source code in multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.read_st
¶
Python
read_st(path: str | Path) -> BpRnaRecord
Parse a .st/.sta file and return a single bpRNA record.
Source code in multimolecule/io/rna_secondary_structure.py
| Python | |
|---|---|
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | |
multimolecule.io.rna_secondary_structure.write_st
¶
Python
write_st(
record: BpRnaRecord | RnaSecondaryStructureRecord,
path: str | Path,
**_: object
) -> Path
Write a .st/.sta file for a single bpRNA record.