Versions Compared

Key

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

...

Info

The Flux Capacitor needs the SAM input file to be indexed. The index is needed to access every locus indipendently, without the need to sequentially read the whole file. For this reason only BAM files are supported.

The BAM file should must be sorted by the reference id ID and then the leftmost coordinate before indexing (see SAM format specification above). The index file has to be placed in the same folder as the BAM file.

...

Code Block
samtools view -Sb file.sam > file.bam
2.Sort the BAM

...

:
Code Block
samtools sort file.bam file_sorted

...