Skip to main content

centrifuge

Link to section 'Introduction' of 'centrifuge' Introduction

Centrifuge is a novel microbial classification engine that enables rapid, accurate, and sensitive labeling of reads and quantification of species on desktop computers.

For more information, please check its website: https://biocontainers.pro/tools/centrifuge and its home page: http://www.ccb.jhu.edu/software/centrifuge/.

Link to section 'Versions' of 'centrifuge' Versions

  • 1.0.4_beta

Link to section 'Commands' of 'centrifuge' Commands

  • centrifuge
  • centrifuge-BuildSharedSequence.pl
  • centrifuge-RemoveEmptySequence.pl
  • centrifuge-RemoveN.pl
  • centrifuge-build
  • centrifuge-build-bin
  • centrifuge-class
  • centrifuge-compress.pl
  • centrifuge-download
  • centrifuge-inspect
  • centrifuge-inspect-bin
  • centrifuge-kreport
  • centrifuge-sort-nt.pl
  • centrifuge_evaluate.py
  • centrifuge_simulate_reads.py

Link to section 'Module' of 'centrifuge' Module

You can load the modules by:

module load biocontainers
module load centrifuge

Link to section 'Example job' of 'centrifuge' Example job

Using #!/bin/sh -l as shebang in the slurm job script will cause the failure of some biocontainer modules. Please use #!/bin/bash instead.

To run Centrifuge on our clusters:

#!/bin/bash
#SBATCH -A myallocation     # Allocation name 
#SBATCH -t 1:00:00
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --job-name=centrifuge
#SBATCH --mail-type=FAIL,BEGIN,END
#SBATCH --error=%x-%J-%u.err
#SBATCH --output=%x-%J-%u.out

module --force purge
ml biocontainers centrifuge

centrifuge-download -o taxonomy taxonomy
centrifuge-download -o library -m -d "archaea,bacteria,viral" refseq > seqid2taxid.map
cat library/*/*.fna > input-sequences.fna
centrifuge-build -p 8 --conversion-table seqid2taxid.map \
             --taxonomy-tree taxonomy/nodes.dmp --name-table taxonomy/names.dmp \
             input-sequences.fna abv
Helpful?

Thanks for letting us know.

Please don't include any personal information in your comment. Maximum character limit is 250.
Characters left: 250
Thanks for your feedback.