RAY(1)
β¨ RAY(1) Β· User Commands β¨
π¦ NAME
Ray - assemble genomes in parallel using the message-passing interface π§¬
π SYNOPSIS
Okay, two ways to summon Ray, pick your fighter:
mpiexec -n NUMBER_OF_RANKS Ray -k KMERLENGTH -p l1_1.fastq l1_2.fastq -p l2_1.fastq l2_2.fastq -o test
mpiexec -n NUMBER_OF_RANKS Ray Ray.conf # with commands in a file
πΈ DESCRIPTION
So the Ray genome assembler is built on top of the RayPlatform, which is a generic, plugin-based, distributed and parallel compute engine that uses the message-passing interface for passing messages. It's giving infrastructure queen π
Ray is here for a LOT of stuff, bestie:
- de novo genome assembly (with Ray vanilla) π§¬
- de novo meta-genome assembly (with Ray Meta) π
- de novo transcriptome assembly (works, but not tested a lot) π§ͺ
- quantification of contig abundances π
- quantification of microbiome consortia members (with Ray Communities) π¦
- quantification of transcript expression β¨
- taxonomy profiling of samples (with Ray Communities) π³
- gene ontology profiling of samples (with Ray Ontologies) π§
-helpβ Displays this help page. πββοΈ-versionβ Displays the Ray version and compilation options. π·οΈ
π Using a configuration file
You can launch Ray like this, no stress:
mpiexec -n 16 Ray Ray.conf
The configuration file can include comments (anything starting with #) π
π’ K-mer length
-k kmerLengthβ Picks the length of your k-mers. The default value is21.
π¨ It must be odd, because reverse-complement vertices are stored together. The maximum length is defined at compilation by MAXKMERLENGTH.
Bigger k-mers gobble up more memory, so keep that in mind π½οΈ
π₯ Inputs
-p leftSequenceFile rightSequenceFile [averageOuterDistance standardDeviation]β Gives Ray two files full of paired-end reads.averageOuterDistanceandstandardDeviationget auto-computed if you don't provide them π«Ά-i interleavedSequenceFile [averageOuterDistance standardDeviation]β Gives Ray one file of interleaved paired-end reads. Same deal:averageOuterDistanceandstandardDeviationare auto-computed if you skip them π§΅-s sequenceFileβ Gives Ray a file of single-end reads π―
π€ Outputs
-o outputDirectoryβ Picks the directory where your output files land. Default isRayOutputπ
π οΈ Assembly options (defaults work well)
-disable-recyclingβ Turns off read recycling during the assembly. Reads get set free in 3 cases:- the distance did not match for a pair
- the read has not met its mate
- the library population indicates a wrong placement
See Constrained traversal of repeats with paired sequences. Sebastien Boisvert, Elenie Godzaridis, Francois Laviolette & Jacques Corbeil. First Annual RECOMB Satellite Workshop on Massively Parallel Sequencing, March 26-27 2011, Vancouver, BC, Canada. π
-disable-scaffolderβ Turns off the scaffolder. π«-minimum-contig-length minimumContigLengthβ Changes the minimum contig length. Default is100nucleotides π-color-spaceβ Runs in color-space. This needs csfasta files, and it gets switched on automatically if you provide csfasta files π-use-maximum-seed-coverage maximumSeedCoverageDepthβ Ignores any seed with a coverage depth above this threshold. The default is4294967295π-use-minimum-seed-coverage minimumSeedCoverageDepthβ Sets the minimum seed coverage depth. Any path with a coverage depth lower than this gets discarded. The default is0ποΈ
ποΈ Distributed storage engine (all these values are for each MPI rank)
-bloom-filter-bits bitsβ Sets the number of bits for the Bloom filter. Default is268435456bits.0bits disables the Bloom filter πΈ-hash-table-buckets bucketsβ Sets the initial number of buckets.
π¨ Must be a power of 2 !
Default value: 268435456 πͺ£
-hash-table-buckets-per-group bucketsβ Sets the number of buckets per group for sparse storage. Default value:64, and it must be between>=1and<= 64π§©-hash-table-load-factor-threshold thresholdβ Sets the load factor threshold for real-time resizing. Default value:0.75, and it must be>= 0.5and< 1βοΈ-hash-table-verbosityβ Turns on verbosity for the distributed storage engine π
𧬠Biological abundances
-search searchDirectoryβ Points Ray at a directory containing fasta files to be searched in the de Bruijn graph. Biological abundances get written toRayOutput/BiologicalAbundances. SeeDocumentation/BiologicalAbundances.txtπ-one-color-per-fileβ Sets one color per file instead of one per sequence. By default, each sequence in each file gets its own color. For files with large numbers of sequences, one single color per file may be more efficient π¨
π Outputted files
okay so this is the part where Ray tells you everything it spits out π Here's the full list, bestie π«Ά
Scaffolds
RayOutput/Scaffolds.fasta: the scaffold sequences in FASTA format π§RayOutput/ScaffoldComponents.txt: the components of each scaffoldRayOutput/ScaffoldLengths.txt: the length of each scaffoldRayOutput/ScaffoldLinks.txt: scaffold links π
Contigs
RayOutput/Contigs.fasta: contiguous sequences in FASTA format πΈRayOutput/ContigLengths.txt: the lengths of those contiguous sequences
Summary
RayOutput/OutputNumbers.txt: overall numbers for the assembly π
de Bruijn graph
RayOutput/CoverageDistribution.txt: the distribution of coverage valuesRayOutput/CoverageDistributionAnalysis.txt: analysis of the coverage distributionRayOutput/degreeDistribution.txt: distribution of ingoing and outgoing degreesRayOutput/kmers.txt: the k-mer graph, which needs the-write-kmersoption π
β οΈ bestie, heads up: Ray doesn't use RayOutput/kmers.txt itself, and the file is very large π
Assembly steps
RayOutput/SeedLengthDistribution.txt: distribution of seed length π±RayOutput/Rank<rank>.OptimalReadMarkers.txt: read markersRayOutput/Rank<rank>.RaySeeds.fasta: seed DNA sequences, which need the-write-seedsoptionRayOutput/Rank<rank>.RayExtensions.fasta: extension DNA sequences, which need the-write-extensionsoptionRayOutput/Rank<rank>.RayContigPaths.txt: contig paths with coverage values, which need the-write-contig-pathsoption β¨
Paired reads
RayOutput/LibraryStatistics.txt: estimation of outer distances for paired reads πRayOutput/Library<LibraryNumber>.txt: frequencies for observed outer distances (insert size + read lengths)
Partition
RayOutput/NumberOfSequences.txt: number of reads in each fileRayOutput/SequencePartition.txt: sequence partition
Ray software
RayOutput/RayVersion.txt: the version of RayRayOutput/RayCommand.txt: the exact same command you gave π
AMOS
RayOutput/AMOS.afg: assembly representation in AMOS format, which needs the-amosoption
Communication
RayOutput/MessagePassingInterface.txt: number of messages sentRayOutput/NetworkTest.txt: latencies in microsecondsRayOutput/Rank<rank>NetworkTestData.txt: network test raw data
β¨ DOCUMENTATION β¨
okay where to look for help π¦
mpiexec -n 1 Ray -help|less(always up-to-date)- This help page (always up-to-date) π
- The directory
Documentation/ - Manual (Portable Document Format):
InstructionManual.tex(inDocumentation) - Mailing list archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=denovoassembler-users
β¨ AUTHOR β¨
Written by Sebastien Boisvert π
β¨ REPORTING BUGS β¨
bestie, if something's bugging, report it to denovoassembler-users@lists.sourceforge.net π
Home page: <http://denovoassembler.sourceforge.net/> π‘
β¨ COPYRIGHT β¨
this program is free software, so you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License π
this program is distributed in the hope that it'll be useful, but it comes WITHOUT ANY WARRANTY. that means no implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. check the GNU General Public License for more details π
you should have received a copy of the GNU General Public License along with this program (see LICENSE) π
π§Ύ Version and build info
here's the tea on what this build is running π
- Ray version:
2.1.0 - License for Ray: GNU General Public License version 3
- RayPlatform version:
1.1.0 - License for RayPlatform: GNU Lesser General Public License version 3
MAXKMERLENGTH: 32KMER_U64_ARRAY_SIZE: 1Maximum coverage depth stored by CoverageDepth: 4294967295MAXIMUM_MESSAGE_SIZE_IN_BYTES: 4000 bytesFORCE_PACKING = nASSERT = nHAVE_LIBZ = yHAVE_LIBBZ2 = yCONFIG_PROFILER_COLLECT = nCONFIG_CLOCK_GETTIME = n__linux__ = y_MSC_VER = n__GNUC__ = yRAY_32_BITS = nRAY_64_BITS = yMPI standard version: MPI 2.1MPI library: Open-MPI 1.4.2Compiler: GNU gcc/g++ 4.4.5
That's the whole tea, bestie π«Ά Ray 2.1.0 from November 2012, and RAY(1) is still giving main character energy ππ§
π¦ where this page comes from
- debian bookworm: ray 2.3.1-7 Β· GPL-3.0-only
- debian trixie: ray 2.3.1-9 Β· GPL-3.0-only
- ubuntu jammy: ray 2.3.1-7build1 Β· GPL-3.0-only
- ubuntu noble: ray 2.3.1-8build2 Β· GPL-3.0-only
- ubuntu resolute: ray 2.3.1-9 Β· GPL-3.0-only
- ubuntu stonking: ray 2.3.1-9ubuntu1 Β· GPL-3.0-only
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms