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.
源代码位于: 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.
源代码位于: 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.
源代码位于: 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.
源代码位于: multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.read_ct
¶
Python
read_ct(path: str | Path) -> RnaSecondaryStructureRecord
Parse a Connect Table (.ct) file and return a record with dot-bracket notation.
源代码位于: multimolecule/io/rna_secondary_structure.py
multimolecule.io.rna_secondary_structure.write_ct
¶
Python
write_ct(record: RnaSecondaryStructureRecord, path: str | Path) -> Path
Write a Connect Table (.ct) file from a record with dot-bracket notation.
源代码位于: 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.
源代码位于: 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.
源代码位于: multimolecule/io/rna_secondary_structure.py
| Python | |
|---|---|
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | |
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.