Answers.Body: <p>I'm assuming you mean supplementary/chimeric alignment? The <a href="https://samtools.github.io/hts-specs/SAMv1.pdf" rel="nofollow noreferrer">SAM Format Specification</a> has a really detailed explanation as well as its <a href="https://samtools.github.io/hts-specs/SAMtags.pdf" rel="nofollow noreferrer">Optional Fields Specification</a>.</p>
  <p>In general though, you will have an additional line in the SAM file to represent a chimeric alignment yes. For a single read, one line will represent the primary alignment; this is arbitrarily chosen. The other line will represent the split/supplementary alignment and have its supplementary alignment flag set. If there are multiple chimeric alignments, each one will have its own line.</p>
  <p>You check if a primary alignment has any supplementary alignments associated to it by checking the SA tag which will list the location(s) of any supplementary alignment(s).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-16T13:01:54.593Z
Answers.LastActivityDate: 2022-06-16T13:01:54.593Z
Answers.UserDisplayName: helrick
Body: <p>I used bwa mem to align the DNA with the reference genome. If there are split reads (chimeric reads, come from two different parts of the genome), will it be split into two lines rather than one line?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-16T08:18:21.540Z
Comments.Text: Split reads as in spliced or split reads as in a read with a supplemental alignment? "Split reads" has many possible meanings.
Comments.UserDisplayName: Devon Ryan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-16T12:58:02.133Z
Comments.Text: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
Comments.UserDisplayName: Community
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-06-19T05:49:27.603Z
Comments.Text: split reads here refer to chimeric reads which come from two different parts of the genome. For example, the first 1-70 bp is from a region in chromosome 1, 71-150bp is from a region in chromosome 3.
Comments.UserDisplayName: Wang Ming
Tags: <phylogenetics><bwa><sam>
Title: How does split reads look like in sam files?
ThreadText: # How does split reads look like in sam files?
  
  (Asked by: username_0 on 2022-06-16)
  
  I used bwa mem to align the DNA with the reference genome. If there are split reads (chimeric reads, come from two different parts of the genome), will it be split into two lines rather than one line?
  
  **Tags:** phylogenetics, bwa, sam
  
  > **Comments:**
  > **username_1**: Split reads as in spliced or split reads as in a read with a supplemental alignment? "Split reads" has many possible meanings.  
  > **username_2**: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.  
  > **username_0**: split reads here refer to chimeric reads which come from two different parts of the genome. For example, the first 1-70 bp is from a region in chromosome 1, 71-150bp is from a region in chromosome 3.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2022-06-16. Score: 4
  
  I'm assuming you mean supplementary/chimeric alignment? The [SAM Format Specification](https://samtools.github.io/hts-specs/SAMv1.pdf) has a really detailed explanation as well as its [Optional Fields Specification](https://samtools.github.io/hts-specs/SAMtags.pdf).
  
  In general though, you will have an additional line in the SAM file to represent a chimeric alignment yes. For a single read, one line will represent the primary alignment; this is arbitrarily chosen. The other line will represent the split/supplementary alignment and have its supplementary alignment flag set. If there are multiple chimeric alignments, each one will have its own line.
  
  You check if a primary alignment has any supplementary alignments associated to it by checking the SA tag which will list the location(s) of any supplementary alignment(s).
  
  
  ---
  
  