PARSELOG.PY(1)

πŸŽ€ NAME πŸŽ€

Okay bestie, welcome to the PARSELOG.PY(1) page πŸ’– The star of the show is ParseLog.py, and it parses records in the console log of pRESTO modules ✨

✨ DESCRIPTION ✨

So here's the vibe check: this is how you call it πŸ’…

usage: ParseLog.py [--version] [-h] [-o OUT_FILES [OUT_FILES ...]]

              [--outdir OUT_DIR] [--outname OUT_NAME] [--delim DELIMITER
              DELIMITER DELIMITER] -l RECORD_FILES [RECORD_FILES ...] -f FIELDS
              [FIELDS ...]

It's giving "dig through the console log records of pRESTO modules and grab exactly what you want" πŸ¦‹

πŸ†˜ help πŸ†˜

  • --version β€” shows you the program's version number, then it dips πŸ‘‹
  • -h, --help β€” shows the help message and then exits 🫢

πŸ’œ standard arguments πŸ’œ

  • -o OUT_FILES [OUT_FILES ...] β€” pick your own explicit output file name(s). Heads up, this one is NOT compatible with --failed, --outdir, or --outname πŸ’€ If you don't set it, the output filename gets built from the input filename(s). (default: None)
Careful with -o: it cannot be combined with --failed, --outdir, or --outname.
  • --outdir OUT_DIR β€” moves the output to the directory you choose πŸ“‚ If you skip this one, the input file directory is used instead. (default: None)
  • --outname OUT_NAME β€” swaps the prefix of the successfully processed output file for whatever string you give it πŸ“ You can't use this with multiple input files. (default: None)
  • --delim DELIMITER DELIMITER DELIMITER β€” a list of three delimiters, in this order: the ones that separate annotation blocks, the ones that separate field names from values, and the ones that separate values within a field 🌈 (default: ('|', '=', ','))

🎯 parsing arguments 🎯

  • -l RECORD_FILES [RECORD_FILES ...] β€” the log files you want parsed πŸ“œ (default: None)
  • -f FIELDS [FIELDS ...] β€” the fields you want collected 🧚 You can also grab the sequence identifier with the hidden field name "ID" πŸ™ˆ (default: None)

πŸ“¦ output files πŸ“¦

  • table β€” a tab delimited table of the annotations you selected 🌸

🌟 output annotation fields 🌟

  • <user defined> β€” the annotation fields you specify with the -f argument πŸ‘‘

πŸ’Œ AUTHOR πŸ’Œ

Andreas Tille wrote this manpage for the Debian distribution, and it's giving open-to-everyone energy: it can be used for any other usage of the program too 🫢


Bye bestie πŸ’– That was ParseLog.py 0.6.0 from May 2020, sitting on the PARSELOG.PY(1) page forever πŸŽ€βœ¨