Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Samtools

Create output directory.

Code Block
titlemkdir -p 03_Output/variant_calling/samtools
borderStylesolid

Preparing alignment file.

If you do not have a alignment file in the SAM format you may want to start with Introduction to mapping.

Code Block
titlesamtools view -bS -o 03_Output/variant_calling/samtools/REL606.5.bam 03_Output/mapping/bowtie/REL606.5.sam
borderStylesolid

[bam_header_read] EOF marker is absent. The input is probably truncated.
[bam_header_read] invalid BAM binary header (this is not a BAM file).
[main_samview] fail to read the header from "03_Output/mapping/bowtie/REL606.5.sam".