tar xzf locarna-1.7.1.tar.gz
cd locarna-1.7.1
./configure --enable-librna
make
make install
If the Vienna package is installed in a non-standard path, the path should be specified by adding the option --with-vrna="path/to/ViennaRNA-2.0.x" with appropriate path when calling configure. With configure option --prefix="locarna/installation/path" one can specify a non-standard installation path for LocARNA. Other available configure options are reported by "./configure -h".
unzip reapr.zip
or by using your preferred zip archive tool. Configure the REAPR scripts to know the location of other required software packages by running the commandpython configure.py [options]
Run REAPR on a whole genome alignment with the commandpython REAPR.py [options]
To see a list of options for configure.py and REAPR.py, run them with the '--help' option. Please refer to the included README for further details on configuring and using REAPR, formatting the input to REAPR.py, and a description of output files.python /path/to/REAPR.py -a wga_alignments -s species -g dro_tree -d 5 10 20 -p 2 -r /dev/shm --alistat --compalignp
REAPR will realign using LocARNA with limited deviations of delta = 5, 10, and 20. LocARNA will also use the tree in 'dro_tree' to guide progressive alignment. Temporary files will be written to a RAM disk at '/dev/shm' for efficiency. Finally, REAPR will output a table 'summary.tab' that summarizes the RNAz scores before and after realignment, sequence identities of alignments (computed by alistat), and the amount of realignment change (computed by compalignp). Two CPU cores will be used for computation. This command may take 5 or more minutes to run, depending on your system.