```bash
bedtools bedtobam
```

Tool:    bedtools bedtobam (aka bedToBam)
Version: v2.30.0
Summary: Converts feature records to BAM format.

Usage:   bedtools bedtobam [OPTIONS] -i <bed/gff/vcf> -g <genome>

Options: 
        -mapq   Set the mappinq quality for the BAM records.
                (INT) Default: 255

        -bed12  The BED file is in BED12 format.  The BAM CIGAR
                string will reflect BED "blocks".

        -ubam   Write uncompressed BAM output. Default writes compressed BAM.

Notes: 
        (1)  BED files must be at least BED4 to create BAM (needs name field).
