logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Raptor-build - A fast and space-efficient pre-filter for querying very large collections of nucleotide

Description

       Constructs a Raptor index.

       The  input  may  be  a  layout  file  from  raptorlayout, a list of minimiser files produced from raptorprepare, or a file with a list of files to process.

Examples

       raptor build --input bins.list --kmer 19 --window 23 --fpr 0.05 --output raptor.index

       raptor build --input bins.list --shape 11011 --window 8 --output raptor.index

       raptor build --input bins.list --kmer 32 --window 32 --hash 3 --parts 4 --output raptor.index

       raptor build --input minimiser.list --fpr 0.05 --output raptor.index

       raptor build --input raptor.layout --output raptor.index

       raptor build --input raptor.layout --fpr 0.05 --output raptor.index

Name

       Raptor-build  -  A  fast and space-efficient pre-filter for querying very large collections of nucleotide
       sequences.

Options

Generaloptions--input (std::filesystem::path)
              A layout file from raptorlayout, or a file containing file names. The file must contain at  least
              one file path per line, with multiple paths being separated by a whitespace. Each line in the file
              corresponds  to  one  bin.  Valid extensions for the paths in the file are [minimiser] when  using
              preprocessed            input            from            raptorprepare,            and
              [embl,fasta,fa,fna,ffn,faa,frn,fas,fastq,fq,genbank,gb,gbk,sam],      possibly     followed     by
              [bz2,gz,bgzf].  The input file must exist and read permissions must be granted.

       --output (std::filesystem::path)
               A valid path for the output file. Write permissions must be granted.

       --threads (unsigned8bitinteger)
              The number of threads to use. Default: 1. Value must be a positive integer.

       --quiet
              Do not print time and memory usage.

   k-meroptions--kmer (unsigned8bitinteger)
              The k-mer size. Default: 20, or read from layout file. Value must be in range [1,32].

       --window (unsigned32bitinteger)
              The window size. Default: k-mer size. Value must be a positive integer.

       --shape (std::string)
              The shape to use for k-mers. Mutually exclusive with --kmer. Parsed from right to  left.  Default:
              11111111111111111111  (a k-mer of size 20), or read from layout file. Value must match the pattern
              '[01]+'.

   Indexoptions--fpr (double)
              The false positive rate. Default: 0.050000, or read from layout  file.  Value  must  be  in  range
              [0.000000,1.000000].

       --hash (unsigned64bitinteger)
              The  number of hash functions to use. Default: 2, or read from layout file. Value must be in range
              [1,5].

       --parts (unsigned8bitinteger)
              Splits the index in this many parts. Not available for the HIBF. Default: 1. Value must be a power
              of two.

       --compressed
              Build a compressed index.

   Commonoptions-h, --help
              Prints the help page.

       -hh, --advanced-help
              Prints the help page including advanced options.

       --version
              Prints the version information.

       --copyright
              Prints the copyright/license information.

       --export-help (std::string)
              Export the help page information. Value must be one of [html, man, ctd, cwl].

Synopsis

raptor build --input <file> --output  <file>  [--threads  <number>]  [--quiet]  [--kmer  <number>|--shape
       <01-pattern>] [--window <number>] [--fpr <number>] [--hash <number>] [--parts <number>] [--compressed]

Url

       https://github.com/seqan/raptor

Version

Lastupdate: Unavailable
       Raptor-buildversion: 3.0.1 (commit unavailable)
       Shargversion: 1.1.1
       SeqAnversion: 3.4.0-rc.3

See Also