Skip to main content

Nitrogen Fixer detection pipeline

Project description

NFixPlanet

Python package for detection of nitrogen fixers.

Description

TODO: need to update description TODO: mention somewhere that the pipeline only works for short read sequences (coverm step)

Installation

TODO: install via pip TODO: install via conda

Local installation

git clone git@git.embl.org:grp-bork/nfixplanet.git
cd nfixplanet
conda create -c bioconda -n nfixdev python=3.11 prodigal=2.6.3 hmmer=3.4 "defopt<7" wget hostile=2.0.0 fastp=0.24.0 minimap2=2.28 coverm=0.7.0
conda activate nfixdev
pip install -e .[dev]

Requirements:

Usage

nfixplanet annotate

Pipeline for annotating genomes as N-fixers TODO: update description

Basic command:

nfixplanet annotate --input_fasta /path/to/fasta --output_directory /path/to/output

Optional arguments:

  • --genomic_context_range <int>: Maximum number of genes upstream or downstream to consider for operon context (default: 10).
  • --cpus <int>: Number of CPUs to use for HMMscan (default: 2, max recommended: 4).
  • --verbose: Enable verbose (DEBUG) logging.
  • --version: Print version number and exit.

nfixplanet map

Pipeline for mapping metagenomes TODO: update description

Basic command:

nfixplanet map \
  --sample_id SAMPLE_NAME \
  --read_1 /path/to/read_1.fastq \
  --read_2 /path/to/read_2.fastq \
  --single /path/to/reads.fastq \
  --output_directory /path/to/output

Required arguments:

  • --sample_id <str>: Name of the FASTA/FASTQ sample.
  • --output_directory <str>: Path to output directory.

Input read options (choose one mode):

  • --read_1 <str>: Path to FASTA/FASTQ file for paired-end read 1 (R1).
  • --read_2 <str>: Path to FASTA/FASTQ file for paired-end read 2 (R2). Must be provided together with --read_1.
  • --single <str>: Path to FASTA/FASTQ file for single-end reads Can be used on its own or with --read_1 and --read_2.

Optional arguments:

  • --work_directory <str>: Path to directory for temporary files (default: tmp).
  • --cpus <int>: Number of CPUs used by processes (default: 8).
  • --verbose: Enable verbose logging.

Authors and acknowledgment

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

nfixplanet-0.1.0.tar.gz (7.1 MB view details)

Uploaded Source

Built Distribution

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

nfixplanet-0.1.0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

Details for the file nfixplanet-0.1.0.tar.gz.

File metadata

  • Download URL: nfixplanet-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nfixplanet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 363c6837f33b6678ffeafbb6f8e41a915e2626eb0a1c98df893833f6ddc0f166
MD5 a224d69afcb7aa218433dfc8b1e39006
BLAKE2b-256 9dcdb32a110d05ff683d32e83881cb46f72118360d2373c889b6abe5194f2ee7

See more details on using hashes here.

File details

Details for the file nfixplanet-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nfixplanet-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nfixplanet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33bd1bbe63466600dcf11e9f189414452e62be4662da8e503bc795a8075512d6
MD5 29f791d6144d318e13eb3ee7a822cd72
BLAKE2b-256 58b1ac0cb384fbff85c753d1ae6bcbd482ab6c84d9f495863ce1de77b80c630a

See more details on using hashes here.

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