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 isNoneπ₯-c,--complementβ complements the sequence. Default isFalseπ¦-r,--reverseβ reverses the sequence. Default isFalseπ-n,--no-namesβ leaves sequence names out of the output. Default isFalseπ-f,--full-namesβ outputs full names, description included. Default isFalseπ-x,--split-filesβ writes each region to its own separate file. The file names come from the regions ποΈ-l,--lazyβ fills in--default-seqfor missing ranges. Default isFalseπ«§-s DEFAULT_SEQ,--default-seq DEFAULT_SEQβ the default base for missing positions and for masking. Default isNπ¬-d DELIMITER,--delimiter DELIMITERβ the delimiter for splitting names into multiple values. Heads up, duplicate names get discarded π . Default isNone-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 isFalse-M,--mask-by-caseβ masks the FASTA file by switching to lowercase π. Default isFalse--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 π π
π¦ where this page comes from
- debian bookworm: python3-pyfaidx 0.7.1-2 Β· BSD-3-Clause
- debian trixie: python3-pyfaidx 0.8.1.3-2 Β· BSD-3-Clause
- ubuntu jammy: python3-pyfaidx 0.6.4-1 Β· BSD-3-Clause
- ubuntu noble: python3-pyfaidx 0.8.1.1-1 Β· BSD-3-Clause
- ubuntu questing: python3-pyfaidx 0.8.1.3-2 Β· BSD-3-Clause
- ubuntu resolute: python3-pyfaidx 0.8.1.3-2 Β· BSD-3-Clause
- ubuntu stonking: python3-pyfaidx 0.8.1.3-2 Β· BSD-3-Clause
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms