Category

Sam/Bam Manipulation


Usage

samtools depad [-SsCu1] [-T ref.fa] [-o output] <in.bam>


Manual

Required arguments

  • in.bam file: Input BAM file aligned against a padded reference.

Options

  • -S: Ignored for compatibility with previous samtools versions. Previously this option was required if input was in SAM format, but now the correct format is automatically detected by examining the first few characters of input.
  • -s: Output in SAM format. The default is BAM.
  • -C: Output in CRAM format. The default is BAM.
  • -u: Do not compress the output. Applies to either BAM or CRAM output format.
  • -1: Enable fastest compression level. Only works for BAM or CRAM output.
  • -T file: Provides the padded reference file. Note that without this, the @SQ line lengths will be incorrect, so for most use cases, this option will be considered as mandatory.
  • -o file: Specifies the output filename. By default, output is sent to stdout.
  • --no-PG: Do not add a @PG line to the header of the output file.


Share your experience or ask a question