mieaa.API.to_mirna

API.to_mirna(mirnas: Union[str, Iterable[str], IO], to_file: Union[str, IO] = '', **kwargs) → List[str]

Convert from precursor->mirna

Parameters:
  • mirnas (str or iterable) – Iterable or delimited string of miRNAs, e.g. ‘hsa-miR-199a-5p,hsa-mir-550b-1’
  • to_file (str, optional) – if non-empty, save results to provided file name/path
  • **kwargs
    output_format (str, default=’oneline’)
    • oneline - Text containing only converted ids, multi-mapped are semicolon separated
    • newline - Text containing only converted ids, multi-mapped are newline separated
    • tabsep - Tab-separated input and output id
    conversion_type (str, default=’all’)
    • all - Output all mappings
    • unique - Only output unique mappings
Returns:

Converted miRNAs

Return type:

list