YAHA(1)
π NAME π
okay so bestie, gather round: YAHA β a User Command β finds split-read mappings on single-end queries. that's the whole assignment. no cap. π
β¨ DESCRIPTION β¨
fr fr, here's the tea. every default value is just vibing in the parentheses, so peek at those whenever you're wondering "what happens if i don't say anything". π«Ά
πΈ To create an index
yaha -g genomeFilename [-H maxHits (65525)] [-L wordLen (15)] [-S Skip-distance (1)]
The genome file can be a FASTA file, or a nib2 file (created by a previous yaha index operation). both are valid, pick your fighter π
πΈ To align queries
yaha -x yahaIndexFile [-q queryFile|(stdin)] [-o8|(-osh)|-oss outputFile|(stdout)][AdditionalOptions]
The query file can be either a FASTA file or a FASTQ file. she's flexible like that.
-o8β produces alignment output in modified Blast8 format-oshβ produces alignment output in SAM format with hard clipping-ossβ produces alignment output in SAM format with soft clipping-tnumThreads β default(1), your thread count π§΅
π Additional General Alignment Options π
[-BW BandWidth (5)] [-G maxGap (50)] [-H maxHits (650)] [-M minMatch (25)] [-MD MaxDesert (50)] [-P minPercent-identity (0.9)] [-X Xdropoff (25)]
so in bullet form, because we love a list:
-BWBandWidth β default(5)-GmaxGap β default(50)-HmaxHits β default(650)-MminMatch β default(25)-MDMaxDesert β default(50)-PminPercent-identity β default(0.9)-XXdropoff β default(25)
π Affine Gap Scoring
[-AGS (Y)|N] controls use of Affine Gap Scoring. If -AGS is off, a simple edit distance calculation is done. If on, the following are used:
[-GEC GapExtensionCost (2)] [-GOC GapOpenCost (5)] [-MS MatchScore (1)] [-RC ReplacementCost (3)]
-GECGapExtensionCost β default(2)-GOCGapOpenCost β default(5)-MSMatchScore β default(1)-RCReplacementCost β default(3)
π Optimal Query Coverage
[-OQC (Y)|N] controls use of the Optimal Query Coverage Algorithm. If -OQC is off, all alignments meeting the above criteria are output. If on, a set of "primary" alignments are found that optimally cover the length of the query, using the following options:
[-BP BreakpointPenalty (5)] [-MGDP MaxGenomicDistancePenalty (5)] [-MNO MinNonOverlap (minMatch)]
-BPBreakpointPenalty β default(5)-MGDPMaxGenomicDistancePenalty β default(5)-MNOMinNonOverlap β default isminMatch
The cost of inserting a breakpoint in the Optimal Coverage Set is:
BP*MIN(MGDP, Log10(genomic distance between reference loci))
math girlies stay winning π
π¦ Secondary alignments
[-FBS Y|(N)] controls inclusion of "secondary" alignments similar to a primary alignment found using -OQC. If -FBS is on, the following are used. A "secondary" alignment must satisfy BOTH criteria. π―
[-PRL PercentReciprocalLength (0.9)] [-PSS PercentSimilarScore (0.9)]
-PRLPercentReciprocalLength β default(0.9)-PSSPercentSimilarScore β default(0.9)
π§ Additional experimental parameters
- To compress a FASTA file to a nib2 file without creating an index:
yaha -g fastaGenomeFile -c
- To uncompress a nib2 file back into a FASTA file:
yaha -g nib2GenomeFile -u
- For finer control of alignments:
[-I maxIntron (maxGap)]allows separate control of max deletion size vs.maxGapfor insertion size. she does both jobs π - For a more detailed help message, type:
yaha -xh
π¨ bestie listen. --version is not a valid option. i'm so serious. do not do it. it is giving nothing. π
π okay soβ¦ the plot twist
the manpage said the entire thing again. like, the whole usage block, twice, back to back. and honestly? icon behavior. so here it is one more time, re-explained with my whole chest, because i would never gatekeep a single flag from you. β¨
Usage (Default parameter values shown in parenthesis):
To create an index:
yaha -g genomeFilename [-H maxHits (65525)] [-L wordLen (15)] [-S Skip-distance (1)]
The genome file can be a FASTA file, or a nib2 file (created by a previous yaha index operation).
To align queries:
yaha -x yahaIndexFile [-q queryFile|(stdin)] [-o8|(-osh)|-oss outputFile|(stdout)][AdditionalOptions]
The query file can be either a FASTA file or a FASTQ file.
-o8β modified Blast8 format output-oshβ SAM format, hard clipping-ossβ SAM format, soft clipping-tnumThreads β(1)
π Additional General Alignment Options π
[-BW BandWidth (5)] [-G maxGap (50)] [-H maxHits (650)] [-M minMatch (25)] [-MD MaxDesert (50)] [-P minPercent-identity (0.9)] [-X Xdropoff (25)]
-BWBandWidth(5)-GmaxGap(50)-HmaxHits(650)-MminMatch(25)-MDMaxDesert(50)-PminPercent-identity(0.9)-XXdropoff(25)
[-AGS (Y)|N] controls use of Affine Gap Scoring. With -AGS off, a simple edit distance calculation happens. With it on, these come into play:
[-GEC GapExtensionCost (2)] [-GOC GapOpenCost (5)] [-MS MatchScore (1)] [-RC ReplacementCost (3)]
-GECGapExtensionCost(2)-GOCGapOpenCost(5)-MSMatchScore(1)-RCReplacementCost(3)
[-OQC (Y)|N] controls use of the Optimal Query Coverage Algorithm. With -OQC off, every alignment that meets the above criteria gets output. With it on, a set of "primary" alignments is found that optimally covers the query's length, using:
[-BP BreakpointPenalty (5)] [-MGDP MaxGenomicDistancePenalty (5)] [-MNO MinNonOverlap (minMatch)]
-BPBreakpointPenalty(5)-MGDPMaxGenomicDistancePenalty(5)-MNOMinNonOverlap defaults tominMatch
The cost of inserting a breakpoint in the Optimal Coverage Set is:
BP*MIN(MGDP, Log10(genomic distance between reference loci))
[-FBS Y|(N)] controls inclusion of "secondary" alignments similar to a primary alignment found using -OQC. If -FBS is on, these are used β and a "secondary" alignment has to satisfy BOTH criteria:
[-PRL PercentReciprocalLength (0.9)] [-PSS PercentSimilarScore (0.9)]
-PRLPercentReciprocalLength(0.9)-PSSPercentSimilarScore(0.9)
Additional experimental parameters:
- Compress a FASTA file to a nib2 file without making an index:
yaha -g fastaGenomeFile -c - Uncompress a nib2 file back into a FASTA file:
yaha -g nib2GenomeFile -u - For finer control of alignments:
[-I maxIntron (maxGap)]lets you control max deletion size separately frommaxGap(which handles insertion size) - More detailed help:
yaha -xh
π€ and once more for the people in the back: --version is not a valid option.
π SEE ALSO π
https://github.com/GregoryFaust/yaha β go be nosy, bestie, the source is right there πΈ
and that's a wrap on YAHA version 0.1.83, dated July 2018 π thank you for coming to my ted talk, you're gonna slay those split-read mappings, mwah πβ¨
π¦ where this page comes from
- debian bookworm: yaha 0.1.83-3 Β· MIT
- debian trixie: yaha 0.1.83-3 Β· MIT
- ubuntu jammy: yaha 0.1.83-3 Β· MIT
- ubuntu noble: yaha 0.1.83-3 Β· MIT
- ubuntu questing: yaha 0.1.83-3
- ubuntu resolute: yaha 0.1.83-3build1 Β· MIT
- ubuntu stonking: yaha 0.1.83-3build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms