TRAINPHD(1)

πŸ’– TRAINPHD β€” the manual page, bestie edition πŸ’–

okay so you opened trainphd(1) and it's a User Commands situation, which means it's a real one, a genuine little utility living in section 1 of your man pages. no cap. let's get into it 🫢


✨ NAME ✨

trainphd β€” interpretation of DNA Sanger sequencing data 🧬🌸

like, it reads your sequencing data and makes sense of it. that's the whole vibe.


πŸŽ€ DESCRIPTION πŸŽ€

okay bestie, this is where it gets juicy. trainphd is flag city. every single one of these is a little knob you can turn, so let's go one by one, no skipping, we don't do that here πŸ’…

  • -h β€” (Help) this message. the "help me please" button. iconic behaviour honestly πŸ™ˆ
  • -C <consensusfile> β€” tells it the name of the FASTA file that holds the consensus sequence. you're basically handing it the blueprint ✨
  • -V <vector> β€” name of the FASTA file with the vector sequence. vectors get their own file, as they should πŸ‘‘
  • -P <primer> β€” name of the FASTA file with the primer sequence. primers are the little starters, love that for them 🧚
  • -S <site> β€” name of the FASTA file with the restriction site sequence. πŸ“
  • -M <match> β€” the match premium. default is 10. when things match, it's a whole celebration πŸ’–
  • -X <mismatch> β€” the mismatch penalty. default is 20. mismatches get punished, sorry, it's giving strict πŸ’€
  • -G <gap_penalty > β€” the gap initiation or extension penalty. default is 40. gaps? penalised. heavily. 😭
  • -r <repeat_fraction> β€” sets the repeat_fraction. default is 0.85. 🌈
  • -f <max_frac_of_err> β€” the allowable fraction of errors inside the best alignment region. default is 0.1. and listen: if the actual fraction of errors goes over this value, the fragment gets rejected, meaning it is not used in the training process. so it doesn't just get a bad grade, it gets dropped entirely 🚫
  • -a <min_portion_aligned> β€” tells trainphd to ignore a read if less than the specified portion of its bases is aligned with the reference sequence. default is 0. lowkey a "you must be at least this aligned to ride" situation 🎒
  • -l <min_read_length> β€” tells trainphd to ignore any read shorter than the number of basepairs you give it. 0 by default, so by default nothing is too short. glow-up mode: set it higher βœ‚οΈ
  • -o <output_file> β€” name of the output file. and by default? the output goes to stdout, so it just vibes straight into your terminal πŸ’»
  • -t <tab_dir> β€” tells trainphd to extract alternative base calls from TAB files stored in the directory tab_dir, and to output those calls together with the quality value for each alternative call. extra data, extra slay πŸ“Š
  • -d <dir> β€” read the input PHD files from the specified directory. point it at the folder, it goes and gets them πŸ—‚οΈ
  • -j <projectfile> β€” name of the projectfile, which is made of two columns: the full path to the FASTA file containing the consensus sequence, then the full path to the sample file. two columns, one file, very efficient of it πŸ“‹

ngl some of these defaults are doing a lot of heavy lifting, so if your output looks weird, check -M, -X, -G, -r and -f first. that's where the algorithm's whole personality lives 🧠

πŸ’œ AUTHOR πŸ’œ

this manpage was written by Andreas Tille for the Debian distribution, and it can be used for any other usage of the program. so like, it's free to travel, we love a flexible icon 🫢


and that's the whole page, bestie!! πŸŽ‰ this was trainphd version 3.0.6~beta, dated October 2018 β€” a certified classic, still serving. go read your DNA, ily, bye πŸ’…βœ¨πŸŒˆ