FAIDX(1)

✨ NAME ✨

Okay so this is the FAIDX(1) page, a User Command bestie πŸŽ€. faidx is how you fetch sequences straight from FASTA πŸ§¬πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

faidx [-h] [-b BED] [-o OUT] [-i {bed,chromsizes,nucleotide,transposed}]
[-c] [-r] [-n | -f] [-x] [-l] [-s DEFAULT_SEQ] [-d DELIMITER] [-g REGEX]
[-m | -M] [--version] fasta [regions [regions ...]]

🌸 DESCRIPTION 🌸

Okay so faidx pulls sequences out of a FASTA file for you 🫢. If you don't give it any regions, you get every single entry in the input file, no cap ✨. Your input FASTA has to be consistently line-wrapped πŸ™ˆ, and the output's line wrapping copies whatever the input line lengths were. Main character energy πŸ‘‘.


πŸ’… OPTIONS πŸ’…

πŸ“ Positional arguments

  • fasta β€” the FASTA file you want to read πŸ“„
  • regions β€” space separated regions of sequence to fetch, e.g. chr1:1-1000 🧚

🌈 Optional arguments

  • -h, --help β€” shows the help message and exits πŸ’œ
  • -b BED, --bed BED β€” a bed file of regions πŸ—ΊοΈ
  • -o OUT, --out OUT β€” the output file name. Default is stdout ✨
  • -i {bed,chromsizes,nucleotide,transposed}, --transform {bed,chromsizes,nucleotide,transposed} β€” transforms the requested regions into another format. Default is None πŸ”₯
  • -c, --complement β€” complements the sequence. Default is False πŸ¦‹
  • -r, --reverse β€” reverses the sequence. Default is False πŸ”
  • -n, --no-names β€” leaves sequence names out of the output. Default is False πŸ™ˆ
  • -f, --full-names β€” outputs full names, description included. Default is False πŸ“
  • -x, --split-files β€” writes each region to its own separate file. The file names come from the regions πŸ—‚οΈ
  • -l, --lazy β€” fills in --default-seq for missing ranges. Default is False 🫧
  • -s DEFAULT_SEQ, --default-seq DEFAULT_SEQ β€” the default base for missing positions and for masking. Default is N 🍬
  • -d DELIMITER, --delimiter DELIMITER β€” the delimiter for splitting names into multiple values. Heads up, duplicate names get discarded πŸ™…. Default is None
  • -g REGEX, --regex REGEX β€” a regular expression for filtering out sequence names that don't match πŸ”. Default is .*
  • -m, --mask-with-default-seq β€” masks the FASTA file using --default-seq 🎭. Default is False
  • -M, --mask-by-case β€” masks the FASTA file by switching to lowercase πŸŒ™. Default is False
  • --version β€” prints the pyfaidx version number 🏷️

🫢 SEE ALSO 🫢

Okay bestie, please cite πŸ“šβœ¨: Shirley MD, Ma Z, Pedersen BS, Wheelan SJ. (2015) Efficient "pythonic" access to FASTA files using pyfaidx. PeerJ PrePrints 3:e1196 https://dx.doi.org/10.7287/peerj.preprints.970v1


That's the whole tea πŸ΅πŸ’– This was faidx 0.4.2, from October 2015, FAIDX(1) forever πŸ’…πŸŒˆ