rnaglib.dataset_transforms.StructureDistanceComputer¶
- class rnaglib.dataset_transforms.StructureDistanceComputer(name='USalign', use_substructures=True, structures_path=None, n_jobs=-1, **kwargs)[source]¶
Distance computer computing a structure-based pairwise distance between RNAs from a dataset
- Parameters:
name (str) – the name identifying the distance metric
use_substructures (bool) – whether to filter cif files of RNAs to remove the residues which are not present in the dataset (default True)
structures_path (
Optional
[Path
]) – path to the directory where the structures are stored (as cif files)n_jobs (int) – number of jobs (for parallelization) (if set to -1, use the maximum number of cores)(default -1)
- __init__(name='USalign', use_substructures=True, structures_path=None, n_jobs=-1, **kwargs)[source]¶
Methods
__init__
([name, use_substructures, ...])forward
(dataset)Computes pairwise structural similarity between all pairs of RNAs with rna-align.