Skip to main content

Finds target sites for the miRNAs in genomic sequences.

Project description

metaRNA finds potential target sites for the microRNAs in genomic sequences. It is built on miRanda, an algorithm for detection and ranking of the targets of microRNA.

Build Status PyPI V PyPI DW PyPI VER PyPI L image5 PyPI S


from metarna.target_scan import scan, free_energy

gene_sequence = (


# Get free Energy value:
delta_g = free_energy(gene_sequence, mirna_sequence)

# Get full targets information:
targets = scan(gene_sequence, mirna_sequence)


metaRNA supports Python versions 2.7, 3.3, 3.4, and 3.5. It requires the Vienna RNA package which must be installed before installing metaRNA.

After Intalling Vienna RNA package, metaRNA may be installed simply by executing:

$ pip install metarna

metaRNA is currently tested on Mac OSX and Ubuntu, however other Unix based systems should be supported. It isn’t tested on Windows yet.

Running tests

Use of virtualenv is assumed and expected.

$ python develop # Installs Development Version
$ python -m unittest


The miRanda algorithm works in two phases. In phase one, the potential target sites are reported based on query microRNA and reference (CDNA) sequence. These targets are scored and the high scoring alignments are then used in second phase, where the folding routines of RNAlib library are utilised to calculate the minimum free energy of the resulting combinations.

Further Information

Citing in publications

Please cite the original miRanda library, and Vienna RNA library. The citations can be obtained from the links above.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metarna-4.0.4.tar.gz (12.0 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page