CONVERT2BED(1)
π convert2bed β the manual page, but make it a group chat π
okay bestie, sit down, hydrate, because we're about to talk about convert2bed, aka the glow-up machine that takes your dusty genomics formats and turns them into BED. this is the convert2bed(1) manual page, and yes it is iconic. π
β¨ NAME β¨
convert2bed β manual page for convert2bed 2.4.42+dfsg
literally that's it, that's the name, no notes. π«Ά
πΈ DESCRIPTION πΈ
convert2bed
version: 2.4.42
author: Alex Reynolds
Usage:
$ convert2bed --input=fmt [--output=fmt] [options] < input > output
okay so here's the whole vibe: this tool converts BAM, GFF, GTF, GVF, PSL, RepeatMasker (OUT), SAM, VCF and WIG genomic formats into BED or BEDOPS Starch (that's compressed BED, for the uninitiated β iykyk). π₯
and the input? it can be a regular file, OR standard input piped in using the hyphen character ('-'). the way that works is just:
$ some_upstream_process ... | convert2bed --input=fmt - > output
ate. no crumbs. π
π Input (required): π
--input=[bam|gff|gtf|gvf|psl|rmsk|sam|vcf|wig](-i <fmt>) β the genomic format of your input file. required, bestie, you cannot skip this one, it is the whole personality of the command. π
π¦ Output: π¦
--output=[bed|starch](-o <fmt>) β the format of your output file, either BED or BEDOPS Starch. it's optional, and the default is BED. π
π Other processing options: π
--do-not-sort(-d) β do not sort BED output withsort-bed. heads up though: this is not compatible with--output=starch. π«--max-mem=<value>(-m <val>) β sets aside<value>memory for sorting BED output. for example,<value>can be8G,8000Mor8000000000to specify 8 GB of memory. the default is 2G. π§--sort-tmpdir=<dir>(-r <dir>) β optionally sets[dir]as the temporary directory for sort data, when used in conjunction with--max-mem=[value], instead of the host's operating system default temporary directory. (yes,[dir]and[value]are literally how the original writes them, we keep it exact around here π )--starch-bzip2(-z) β used with--output=starch, the compressed output explicitly applies thebzip2algorithm to compress intermediate data. the default isbzip2. π«Ά--starch-gzip(-g) β used with--output=starch, the compressed output appliesgzipcompression on intermediate data. πΈ--starch-note="xyz..."(-e "xyz...") β used with--output=starch, this adds a note to the Starch archive metadata. cute little annotation moment. β¨--help | --help[-bam|-gff|-gtf|-gvf|-psl|-rmsk|-sam|-vcf|-wig](-h | -h <fmt>) β show the general help message (or detailed help for a specified input format). yes you can ask for help about a specific format, main character behavior honestly. π--version(-w) β show application version. β
π« SEE ALSO π«
The full documentation for convert2bed is maintained as a Texinfo manual. If the info and convert2bed programs are properly installed at your site, the command
info convert2bed
should give you access to the complete manual. go read it, it's giving β¨ thorough β¨. no cap. π
ok that's the whole page bestie, you're officially fluent in convert2bed. periodt. π
convert2bed 2.4.42+dfsg β that's the source/version, and this lovely little page is dated August 2025. mwah. bye bye! ππ
π
π¦ where this page comes from
- ubuntu resolute: bedops 2.4.42+dfsg-1 Β· GPL-2.0-or-later
- ubuntu stonking: bedops 2.4.42+dfsg-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms