BAMFILLQUERY(1)
π BAMFILLQUERY π
okay bestie, welcome to bamfillquery from the BIOBAMBAM collection β General Commands Manual energy, group-chat delivery. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
bamfillquery β fill query sequences into BAM files π§¬β¨
πΈ SYNOPSIS πΈ
bamfillquery [options] <in.bam queries.fasta >out.bam
π¦ DESCRIPTION π¦
so basically bamfillquery reads a SAM/BAM/CRAM file and a FastA file, copies the sequences it finds in that FastA file into the query sequence field of the SAM/BAM/CRAM file, and writes the whole resulting glow-up out to a SAM/BAM/CRAM file. it's giving "put the sequence back where it belongs" π
β οΈ heads up bestie: both the alignment input file and the FastA file need to be sorted by query name. no cap. if they're not, go seebamsortorbamsormadupto get the SAM/BAM/CRAM file into that order first. π
The following key=value pairs can be given:
π level=<-1|0|1|9|11>
set the compression level of the output BAM file. the valid values are, and I quote:
-1β zlib/gzip default compression level0β uncompressed1β zlib/gzip level 1 (fast) compression9β zlib/gzip level 9 (best) compression
and if libmaus has been compiled with support for igzip (see https://software.intel.com/en-us/articles/igzip-a-high-performance-deflate-compressor-with-optimizations-for-genomic-data) then there's one more valid value for you:
11β igzip compression π₯
π verbose=<1>
valid values are:
1β print progress report on standard error0β do not print progress report
π tmpfile=<filename>
prefix for temporary files. by default the temporary files are created in the current directory. ποΈ
π md5=<0|1>
md5 checksum creation for the output file. valid values are:
0β do not compute checksum. this is the default.1β compute checksum. if themd5filenamekey is set, then the checksum is written to the given file. ifmd5filenameis unset, then no checksum will be computed. (yes, really β set the key, bestie π)
π md5filename
file name for md5 checksum if md5=1.
π index=<0|1>
compute BAM index for output file. valid values are:
0β do not compute BAM index. this is the default.1β compute BAM index. if theindexfilenamekey is set, then the BAM index is written to the given file. ifindexfilenameis unset, then no BAM index will be computed.
π indexfilename
file name for BAM index if index=1.
π inputformat=<bam>
input file format. all versions of bamsort come with support for the BAM input format. if the program in addition is linked to the io_lib package, then the following options are valid:
bamβ BAM (seehttp://samtools.sourceforge.net/SAM1.pdf)samβ SAM (seehttp://samtools.sourceforge.net/SAM1.pdf)cramβ CRAM (seehttp://www.ebi.ac.uk/ena/about/cram_toolkit)
π outputformat=<bam>
output file format. all versions of bamsort come with support for the BAM output format. if the program in addition is linked to the io_lib package, then the following options are valid:
bamβ BAM (seehttp://samtools.sourceforge.net/SAM1.pdf)samβ SAM (seehttp://samtools.sourceforge.net/SAM1.pdf)cramβ CRAM (seehttp://www.ebi.ac.uk/ena/about/cram_toolkit). this format is not advisable for data sorted by query name. π« (i'm just the messenger)
π I=<[stdin]>
input filename, standard input if unset. π
π O=<[stdout]>
output filename, standard output if unset. π
π inputthreads=<[1]>
input helper threads, only valid for inputformat=bam. β‘
π outputthreads=<[1]>
output helper threads, only valid for outputformat=bam. β‘
π reference=<[]>
reference FastA file for inputformat=cram and outputformat=cram. an index file (.fai) is required. π
π AUTHOR π
Written by German Tischler. (an icon, fr fr)
π REPORTING BUGS π
Report bugs to <germant@miltenyibiotec.de>
π COPYRIGHT π
Copyright Β© 2009-2016 German Tischler, Β© 2011-2013 Genome Research Limited. License GPLv3+: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and that's the whole page, bestie π«Ά this was the BIOBAMBAM release, dated August 2017 β BAMFILLQUERY(1), out. slay, stay sorted by query name, and drink some water πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: biobambam2 2.0.185+ds-1 Β· GPL-3.0-or-later
- debian trixie: biobambam2 2.0.185+ds-2 Β· GPL-3.0-or-later
- ubuntu jammy: biobambam2 2.0.183+ds-1 Β· GPL-3.0-or-later
- ubuntu noble: biobambam2 2.0.185+ds-1 Β· GPL-3.0-or-later
- ubuntu questing: biobambam2 2.0.185+ds-2
- ubuntu resolute: biobambam2 2.0.185+ds-2build1 Β· GPL-3.0-or-later
- ubuntu stonking: biobambam2 2.0.185+ds-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms