RABEMA_EVALUATE(1)
π RABEMA_EVALUATE π
okay bestie, welcome to rabema_evaluate (that's the 1 section of the manual, for the girlies keeping track) β the part of RABEMA that grades your read mapper's homework. β¨
β¨ NAME β¨
rabema_evaluate β RABEMA Evaluation, aka the moment of truth for your aligner π«Ά
πΈ SYNOPSIS πΈ
rabema_evaluate [OPTIONS] --reference REF.fa --in-gsi IN.gsi --in-bam
MAPPING.{sam,bam}
π¦ DESCRIPTION π¦
so basically π
β you take the SAM/BAM output of any read mapper, all proud of itself, and you hold it up against the RABEMA gold standard you already built with rabema_build_gold_standard. comparison time. no cap.
your three inputs are: a reference FASTA file, a gold standard interval (GSI) file, and the SAM/BAM you wanna evaluate.
β οΈ listen. the input SAM/BAM file must be sorted by queryname. not optional, not a vibe, a requirement.
also, the program will create a FASTA index file REF.fa.fai so it can randomly access the reference fast β¨
π OPTIONS π
-h,--helpβ show the help message, bestie. it's giving helpful.--versionβ show version info π«-v,--verboseβ turn on verbose output, for when you want the tea π΅-vv,--very-verboseβ even MORE verbose output. maximum yapping, but make it diagnostics π₯
π Input / Output π
-r,--reference INPUT_FILEβ path to load the reference FASTA from. valid filetypes are:.sam[.*],.raw[.*],.gbk[.*],.frn[.*],.fq[.*],.fna[.*],.ffn[.*],.fastq[.*],.fasta[.*],.fas[.*],.faa[.*],.fa[.*],.embl[.*], and.bam, where*is any of the following extensions:gz,bz2, andbgzffor transparent (de)compression. so many options, she's versatile π-g,--in-gsi INPUT_FILEβ path to load gold standard intervals from. if it's compressed with gzip, the file gets decompressed on the fly, no extra steps needed β¨ valid filetype is:.gsi[.*], where*is any of the following extensions:gzfor transparent (de)compression.-b,--in-bam INPUT_FILEβ path to load the read mapper's SAM or BAM output from. valid filetypes are:.sam[.*]and.bam, where*is any of the following extensions:gz,bz2, andbgzffor transparent (de)compression.--out-tsv OUTPUT_FILEβ path to write the statistics to as TSV. valid filetype is:.rabema_report_tsv. the receipts π--dont-check-sortingβ do not check sortedness (by name) of input SAM/BAM files. this is required if the reads are not sorted by name in the original FASTQ files. files from the SRA and ENA generally are sorted. iykyk π§
π₯ Benchmark Parameters π₯
--oracle-modeβ enable oracle mode π this is used for simulated data when the input GSI file gives exactly one position that is considered as the true sample position. for simulated data.--only-unique-readsβ consider only reads that a single alignment in the mapping result file. useful for precision computation. main character reads only π--match-Nβ when set,Nmatches all characters without penalty. N is giving "i contain multitudes" π--distance-metric STRINGβ set distance metric. valid values:hamming,edit. default:edit. one ofhammingandedit. default:edit. (yes girl, it said it twice, so i'm telling you twice π)-e,--max-error INTEGERβ maximal error rate to build gold standard for, in percent. this parameter is an integer and relative to the read length. the error rate is ignored in oracle mode β there, the distance of the read at the sample position is taken, individually for each read. default:0. default:0. (again: twice. committing to the bit π«Ά)-c,--benchmark-category STRINGβ set benchmark category. one of {all,all-best,any-best. default:all. one ofall,all-best, andany-best. default:all. pick your fighter, all three are iconic β¨--trust-NMβ when set, we trust the alignment and distance from the SAM/BAM file and no realignment is performed. off by default. trusting the NM tag is a leap of faith, bestie π--extra-pos-tag STRINGβ if the CIGAR string is absent, the missing alignment end position can be provided by this BAM tag. backup plan behavior, we love to see it π--ignore-paired-flagsβ when set, we ignore all SAM/BAM flags related to pairing. this is necessary when analyzing SAM from SOAP'ssoap2sam.plscript. SOAP girlies rise π§Ό--DONT-PANICβ do not stop program execution if an additional hit was found that indicates that the gold standard is incorrect. yes it's in all caps, she's screaming it for emphasis π
π Logging π
--show-missed-intervalsβ show details for each missed interval from the GSI. the ones that got away π--show-invalid-hitsβ show details for invalid hits (with too high error rate).--show-additional-hitsβ show details for additional hits (low enough error rate but not in gold standard.--show-hitsβ show details for hit intervals. the winners β¨--show-try-hitβ show details for each alignment in SAM/BAM input. every single attempt, we respect the hustle π«‘
β οΈ real talk: the occurrence of "invalid" hits in the read mapper's output is not an error. if there are additional hits, however, this shows an error in the gold standard. so don't come for the mapper when the gold standard is the one acting up, fr fr.
π« RETURN VALUES π«
a return value of 0 indicates success π any other value indicates an error π
π§ MEMORY REQUIREMENTS π§
from version 1.1, great care has been taken to keep the memory requirements as low as possible. she's low-maintenance, she's efficient, she fits in your RAM π
the evaluation step needs to store the whole reference sequence in memory but little more memory. so, for the human genome, the memory requirements are below 4 GB, regardless of the size of the GSI or SAM/BAM file. literally slaying at scale π
π REFERENCES π
- M. Holtgrewe, A.-K. Emde, D. Weese and K. Reinert. A Novel And Well-Defined Benchmarking Method For Second Generation Read Mapping, BMC Bioinformatics 2011, 12:210.
https://www.seqan.de/rabema RABEMA Homepage
https://www.seqan.de/mason Mason Homepage
okay that's the whole page bestie, you're fully briefed β¨ and one last thing β this was rabema_evaluate 1.2.14 [tarball], brought to you by the fine people behind RABEMA. now go evaluate something, periodt π
π
π¦ where this page comes from
- ubuntu stonking: seqan-apps 2.5.2-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms