Skip to main content

SRUFinder: Find and subtype SRUs, mini-arrays, and CRISPR arrays by repeat matching

Project description

SRUFinder

Detect and subtype Single Repeat Units, mini-arrays, and CRISPR arrays by repeat matching with a comprehensive repeat sequence database

Table of contents

  1. Quick start
  2. Installation
  3. SRUFinder

Quick start

conda create -n srufinder -c conda-forge -c bioconda -c russel88 srufinder
conda activate srufinder
srufinder my.fasta my_output

Installation

SRUFinder can be installed either through conda or pip.

It is advised to use conda, since this installs SRUFinder and all dependencies, and downloads with database in one go.

Conda

Use miniconda or anaconda to install.

Create the environment with SRUFinder and all dependencies and database

conda create -n srufinder -c conda-forge -c bioconda -c russel88 srufinder

pip

If you have the dependencies (Python >= 3.8, Prodigal >= 2.6) in your PATH you can install with pip

Install srufinder python module

python -m pip install srufinder

Upgrade srufinder python module to the latest version

python -m pip install srufinder --upgrade

When installing with pip, you need to download the database manually:

# Download
svn checkout https://github.com/Russel88/SRUFinder/trunk/data

# Tell SRUFinder where the data is:
# either by setting an environment variable (has to done for each terminal session, or added to .bashrc):
export SRUFINDER_DB="/path/to/data/"
# or by using the --db argument each time you run SRUFinder:
srufinder input.fa output --db /path/to/data/

SRUFinder - How to

SRUFinder takes as input a nucleotide fasta, and produces outputs with SRU predictions

Activate environment

conda activate srufinder

Run with a nucleotide fasta as input

srufinder genome.fa my_output

For metagenome assemblies and short contigs/plasmids/phages, change the prodigal mode

The default prodigal mode expects the input to be a single draft or complete genome

srufinder assembly.fa my_output --prodigal meta

Check the different options

srufinder -h

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

srufinder-0.2.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

srufinder-0.2.1-py3.9.egg (25.7 kB view details)

Uploaded Source

File details

Details for the file srufinder-0.2.1.tar.gz.

File metadata

  • Download URL: srufinder-0.2.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for srufinder-0.2.1.tar.gz
Algorithm Hash digest
SHA256 520155c7a5789cedd714597956baf4a03c4cd5c5f290070c2fdb95bb0ca9ff20
MD5 eae07f6a2067086b60604dca0dd017c9
BLAKE2b-256 32b1a7596be5386ae32f288def50acea724bd3dab9eb6f73aadd37b093cca202

See more details on using hashes here.

File details

Details for the file srufinder-0.2.1-py3.9.egg.

File metadata

  • Download URL: srufinder-0.2.1-py3.9.egg
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for srufinder-0.2.1-py3.9.egg
Algorithm Hash digest
SHA256 633a5d4edfcda810539e0b00ef3bd0fb3664fe0f61f1f287c6fce9459d9f38e7
MD5 2ef79f70151cb0791983dd08c20d60c0
BLAKE2b-256 c6f510c3bd1284cb3afe4e8e3ed635d3ff3bb9dda6ab3058c2d59d2e893d6166

See more details on using hashes here.

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