RUN_TIPP.PY(1)

πŸ“¦ version 1.0, in ubuntu jammy

πŸ’– RUN_TIPP.PY(1) β€” bestie edition πŸ’–

okay so you found run_tipp.py, section 1 of the manual (User Commands, iykyk), and honestly? she's a lot, but she's worth it. let's get into it 🫢


✨ NAME ✨

run_tipp.py β€” an identification and phylogenetic profiling tool 🌸


✨ DESCRIPTION ✨

here's the whole usage vibe, verbatim, because I'm not about to paraphrase a synopsis:

usage: run_tipp.py [-h] [-v] [-A N] [-P N] [-F N] [--distance DISTANCE]
       [-M DIAMETER] [-S DECOMP] [-p DIR] [-rt] [-o OUTPUT] [-d
       OUTPUT_DIR] [-c CONFIG] [-t TREE] [-r RAXML] [-a ALIGN] [-f FRAG]
       [-m MOLECULE] [--ignore-overlap] [-x N] [-cp CHCK_FILE] [-cpi N]
       [-seed N] [-R N] [-at N] [-D] [-pt N] [-PD N] [-tx TAXONOMY]
       [-txm MAPPING] [-adt TREE] [-C N]

so like, what does she do? This script runs the SEPP algorithm on an input tree, alignment, fragment file, and RAxML info file. periodt. πŸ’…

she needs a reference dataset though, and you have to download it from:

https://obj.umiacs.umd.edu/tipp/tipp2-refpkg.tar.gz

now listen β€” if your local administrator has not set the path to this reference dataset in /etc/tipp/tipp.config, then you gotta copy that file over to ~/.tipp/ and drop the path to the dataset into the reference section of the configuration file. go read tipp.config(5), she explains it better than me. πŸŽ€


🌈 optional arguments:

  • -h, --help β€” show this help message and exit. the classic. iconic. 🫢
  • -v, --version β€” show program's version number and exit. ✨

🧚 DECOMPOSITION OPTIONS:

these options determine the alignment decomposition size and taxon insertion size. If None is given, then the default is to align/place at 10% of total taxa. and important bestie: the alignment decomosition size must be less than the taxon insertion size. no negotiating. πŸ’€

  • -A N, --alignmentSize N β€” max alignment subset size of N [default: 10% of the total number of taxa or the placement subset size if given]
  • -P N, --placementSize N β€” max placement subset size of N [default: 10% of the total number of taxa or the alignment length (whichever bigger)]
  • -F N, --fragmentChunkSize N β€” maximum fragment chunk size of N. Helps controlling memory. [default: 20000]
  • --distance DISTANCE β€” minimum p-distance before stopping the decomposition [default: 1]
  • -M DIAMETER, --diameter DIAMETER β€” maximum tree diameter before stopping the decomposition [default: None]
  • -S DECOMP, --decomp_strategy DECOMP β€” decomposition strategy [default: using tree branch length]

πŸŽ€ OUTPUT OPTIONS:

these options control output. yes she's got a whole section for it. main character energy fr fr.

  • -p DIR, --tempdir DIR β€” Tempfile files will be written to DIR. Full-path required. [default: /tmp/sepp]
  • -rt, --remtemp β€” Remove template directory. [default: disabled]
  • -o OUTPUT, --output OUTPUT β€” output files with prefix OUTPUT. [default: output]
  • -d OUTPUT_DIR, --outdir OUTPUT_DIR β€” output to OUTPUT_DIR directory. full-path required. [default: .]

πŸ¦‹ INPUT OPTIONS:

these options control input. To run SEPP the following is required: a backbone tree (in newick format), a RAxML_info file (this is the file generated by RAxML during estimation of the backbone tree β€” Pplacer uses this info file to set model parameters), a backbone alignment file (in fasta format), and a fasta file including fragments. and heads up: the input sequences are assumed to be DNA unless specified otherwise. πŸ’œ

  • -c CONFIG, --config CONFIG β€” A config file, including options used to run SEPP. Options provided as command line arguments overwrite config file values for those options. [default: None]
  • -t TREE, --tree TREE β€” Input tree file (newick format) [default: None]
  • -r RAXML, --raxml RAXML β€” RAxML_info file including model parameters, generated by RAxML. [default: None]
  • -a ALIGN, --alignment ALIGN β€” Aligned fasta file [default: None]
  • -f FRAG, --fragment FRAG β€” fragment file [default: None]
  • -m MOLECULE, --molecule MOLECULE β€” Molecule type of sequences. Can be amino, dna, or rna [default: dna]
  • --ignore-overlap β€” When a query sequence has the same name as a backbone sequence, ignore the query sequences and keep the backbone sequence [default: False]

⭐ OTHER OPTIONS:

these options control how SEPP is run. the machinery section, bestie. πŸ”₯

  • -x N, --cpu N β€” Use N cpus [default: number of cpus available on the machine]
  • -cp CHCK_FILE, --checkpoint CHCK_FILE β€” checkpoint file [default: no checkpointing]
  • -cpi N, --interval N β€” Interval (in seconds) between checkpoint writes. Has effect only with -cp provided. [default: 3600]
  • -seed N, --randomseed N β€” random seed number. [default: 297834]

πŸ‘‘ TIPP OPTIONS:

these arguments set settings specific to TIPP. slay.

  • -R N, --reference_pkg N β€” Use a pre-computed reference package [default: None]
  • -at N, --alignmentThreshold N β€” Enough alignment subsets are selected to reach a commulative probability of N. This should be a number between 0 and 1 [default: 0.95]
  • -D, --dist β€” Treat fragments as distribution
  • -pt N, --placementThreshold N β€” Enough placements are selected to reach a commulative probability of N. This should be a number between 0 and 1 [default: 0.95]
  • -PD N, --push_down N β€” Whether to classify based on children below or above insertion point. [default: True]
  • -tx TAXONOMY, --taxonomy TAXONOMY β€” A file describing the taxonomy. This is a commaseparated text file that has the following fields: taxon_id,parent_id,taxon_name,rank. If there are other columns, they are ignored. The first line is also ignored.
  • -txm MAPPING, --taxonomyNameMapping MAPPING β€” A comma-separated text file mapping alignment sequence names to taxonomic ids. Formats (each line): sequence_name,taxon_id. If there are other columns, they are ignored. The first line is also ignored.
  • -adt TREE, --alignmentDecompositionTree TREE β€” A newick tree file used for decomposing taxa into alignment subsets. [default: the backbone tree]
  • -C N, --cutoff N β€” Placement probability requirement to count toward the distribution. This should be a number between 0 and 1 [default: 0.0]

πŸ’… SEE ALSO πŸ’…

go read those too, they're part of the lore πŸ“šβœ¨


okay that's the whole page!! this one's from run_tipp.py, September 2021, and it lives in the RUN_TIPP.PY(1) section of the manual. go forth and phylogenetically profile, bestie β€” you got this πŸ’–πŸ¦‹πŸŒΈπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from