Skip to main content

Prebuilt RIsearch1 binary (RNA-RNA / RNA-DNA / DNA-DNA interaction search), tauso fork, packaged for Python.

Project description

RIsearch

RIsearch: a tool for large-scale RNA–RNA, RNA-DNA, and DNA-DNA interaction prediction.

Python package (RIsearch1, tauso fork)

A precompiled RIsearch1 binary from this fork is published to PyPI under the name risearch-tauso, to make RIsearch a normal Python dependency for tauso and any other downstream tool that wants the fork's flavor of RIsearch1:

pip install risearch-tauso
import risearch_tauso, subprocess
subprocess.run([risearch_tauso.executable_path(), "-q", "query.fa", "-t", "target.fa"])

Or as a CLI shim (forwards all args straight to the bundled binary):

risearch-tauso -q query.fa -t target.fa
python -m risearch_tauso -q query.fa -t target.fa

The PyPI package is not the canonical upstream RIsearch — it is the tauso-team fork. Use the upstream RIsearch from RTH-tools if you want the unmodified tool. The Python wrapper currently ships RIsearch1 only; RIsearch2 still needs to be built from source per the instructions below.

Installation

RIsearch1

First, make sure that you have the following programs installed:

  • gcc
  • make

You can compile RIsearch1 by running the following from within the RIsearch1 folder.

make RISEARCH

RIsearch2

First, make sure that you have the following programs installed:

  • gcc
  • make
  • CMake

Now, you should attempt to recompile the binary using the following command from within the RIsearch2 folder:

./rebuild.sh

If that does not work, and you have the gcc and CMake programs installed, please report back to the author.

Executing RIsearch

For more convenient use of RIsearch, add the installation folder or RIsearch1 and RIsearch2 to your PATH or copy the binary to a location that is in $PATH.

Here we provide examples on how to run RIsearch2 and RIsearch1 with default parameters.

See the manuals for RIsearch2 and RIsearch1 for the full list of options and examples.

RIsearch2

First, generate the index structure for the target sequence(s) in the file target.fa and store them in the file target.suf.

risearch2.x -c target.fa -o target.suf

To run RIsearch2 in default settings use the following command:

risearch2.x -q query.fa -i target.suf

Note: the files query.fa and target.fa may contain several sequences, RIsearch will scan all vs. all

RIsearch1

To run RIsearch1 in default settings use the following command:

RIsearch -q query.fa -t target.fa

Alternatively, single sequences can be given directly on commandline with -Q acgu -T acgu

Note: the files query.fa and target.fa may contain several sequences, RIsearch will scan all vs. all

RIsearch manuals

Please read the full manuals for RIsearch1 and RIsearch2, included in the installation folders.

Copyright

Copyright 2021 by the contributors (see RIsearch2/AUTHORS and RIsearch1/README files)

RIsearch1 and Risearch2 are released under the GNU General Public License version 3. Note that libdivsufsort is packaged along with RIsearch. Libdivsufsort comes with its own authors and copyright under RIsearch2/libdivsufsort-2.0.1/{AUTHORS,COPYING}

GNU GENERAL PUBLIC LICENSE

This is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 3 of the License, or (at your option) any later version. You should have received a copy of the GNU General Public License along with RIsearch, see file COPYING. If not, see http://www.gnu.org/licenses/.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Citations

If you use RIsearch in your publication please cite:

RIsearch2: suffix array-based large-scale prediction of RNA-RNA interactions and siRNA off-targets Alkan F, Wenzel A, Palasca O, Kerpedjiev P, Rudebeck AF, Stadler PF, Hofacker IL, Gorodkin J Nucleic Acids Res. 2017 May 5;45(8):e60

RIsearch: fast RNA-RNA interaction search using a simplified nearest-neighbor energy model Wenzel A, Akbasli E, Gorodkin J. Bioinformatics. 2012 Nov 1;28(21):2738-46. Epub 2012 Aug 24

Contact

In case of problems or bug reports, please contact: software+crispron@rth.dk

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

risearch_tauso-1.2.0.tar.gz (215.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

risearch_tauso-1.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (44.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

File details

Details for the file risearch_tauso-1.2.0.tar.gz.

File metadata

  • Download URL: risearch_tauso-1.2.0.tar.gz
  • Upload date:
  • Size: 215.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for risearch_tauso-1.2.0.tar.gz
Algorithm Hash digest
SHA256 429c08fe4cd8a74058a1f5aae00a7d9a8015d65b6622c3f20085b555ce5ee8ca
MD5 143c85de8b577fd6a66488dd2250854d
BLAKE2b-256 68a84a24cd9b3f8c5ba2915093cba3eb256921fb3e246d4f0a820886f997212d

See more details on using hashes here.

Provenance

The following attestation bundles were made for risearch_tauso-1.2.0.tar.gz:

Publisher: wheels.yml on RedPenguin100/risearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file risearch_tauso-1.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for risearch_tauso-1.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e8138905e5af25e3f34affa8d016d4d9e50c09ffc9d4bb4196e00a5cae68a12
MD5 eacb16c4eaa29ef15a7c8788582a39a5
BLAKE2b-256 b805a39119bd1459849412d884bdad0f0ecaeb0fdcaf14432de0064e8c2f7cd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for risearch_tauso-1.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on RedPenguin100/risearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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