Versions Compared

Key

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

...

Recall the format of a SAM alignment record:

Image RemovedImage Added

Suppose you wanted to look only at field 3 (contig name) values in the SAM file. You can do this with the handy cut command. Below is a simple example where you're asking cut to display the 3rd column value for the last 10 alignment records.

...