Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1441

Fix Depth Graph (Start) Soft-clip coordinates

    Details

    • Story Points:
      2
    • Sprint:
      Fall 2018 Sprint 4, Fall 2018 Sprint 5, Winter 2018 Sprint 1, Winter 2018 Sprint 2, Winter 2018 Sprint 3, Spring 2019 Sprint 1

      Description

      Depth graph track operations are used to add up the amount of read depth from bam/sam files. The soft-clipped portion of a read should not count towards either Depth Graph (Start) or Depth Graph (All).

      Currently Depth Graph (All) does not include the soft-clipped portion (correct). However, Depth Graph (Start) does count the soft-clipped portion (bug).

      Example soft-clip files can be found in Dropbox > IGB > Jira Issues > IGBF-1291 Soft-Clip > exampleFiles

      Potential classes worth investigating:
      SeqSymSummarizer > getSpanStartSummary
      Delegate - getRegion

        Attachments

        1. example.bed
          0.1 kB
        2. GFF3_example_1_EDITED_negative.gff3
          0.8 kB
        3. GFF3_example_1_EDITED.gff3
          0.8 kB
        4. IGBF1441_Review_Screenshot.PNG
          IGBF1441_Review_Screenshot.PNG
          205 kB
        5. IGBF1441_Testing.docx
          603 kB
        6. onlyMatchesNegativeShifted.sam
          0.1 kB
        7. onlyMatchesShifted-2.sam
          0.2 kB
        8. softClip-depthGraphStart.png
          softClip-depthGraphStart.png
          79 kB
        9. softClip-DepthGraphStart-CORRECT.png
          softClip-DepthGraphStart-CORRECT.png
          109 kB
        10. softClipShifted2.sam
          0.2 kB
        11. soft-match-deletion-match-insertion-match-soft.sam
          0.1 kB
        12. VCF_HomoSapien_EDITED.vcf
          1 kB

          Issue Links

            Activity

            Show
            ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment - Made changes at the branch: https://bitbucket.org/ptambvekar/igb-pranav-fork/src/IGBF-1441-fix-depth-graph-soft-clip/
            Hide
            nfreese Nowlan Freese added a comment -

            From what we can tell, the StartDepthOperator is only used by the track operation > Depth Graph (Start). The edits made to StartDepthOperator do not seem to affect other track operations, however, a more thorough examination/testing may be needed.

            Show
            nfreese Nowlan Freese added a comment - From what we can tell, the StartDepthOperator is only used by the track operation > Depth Graph (Start). The edits made to StartDepthOperator do not seem to affect other track operations, however, a more thorough examination/testing may be needed.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            We need to consider how this will work with bed files. Bed files will have multiple sym leafs, and each will have its own start. This is also an issue with BAM files where the matching section is split by a deletion, creating two leafs.

            Show
            nfreese Nowlan Freese added a comment - - edited We need to consider how this will work with bed files. Bed files will have multiple sym leafs, and each will have its own start. This is also an issue with BAM files where the matching section is split by a deletion, creating two leafs.
            Show
            ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment - Updated the logic. Please review https://bitbucket.org/ptambvekar/igb-pranav-fork/commits/branch/IGBF-1441-fix-depth-graph-soft-clip
            Hide
            nfreese Nowlan Freese added a comment -

            Dr. Loraine pointed out that GFF files do not have to be positionally sorted. Thus, the first index position of the sym object does not necessarily contain the beginning of the annotation for GFF files. We need to identify the child sym with the correct start before adding it as a leaf.

            Show
            nfreese Nowlan Freese added a comment - Dr. Loraine pointed out that GFF files do not have to be positionally sorted. Thus, the first index position of the sym object does not necessarily contain the beginning of the annotation for GFF files. We need to identify the child sym with the correct start before adding it as a leaf.
            Hide
            ann.loraine Ann Loraine added a comment -

            Expect to spend probably 2 full days on this.

            Show
            ann.loraine Ann Loraine added a comment - Expect to spend probably 2 full days on this.
            Hide
            ann.loraine Ann Loraine added a comment -
            Show
            ann.loraine Ann Loraine added a comment - Link to dropbox folder with files: https://www.dropbox.com/sh/wxzhideujatu6ct/AAB3OafXzmTAXuu3eZTGYcGBa?dl=0
            Hide
            ann.loraine Ann Loraine added a comment -
            Show
            ann.loraine Ann Loraine added a comment - Explanation of CIGAR string: http://bioinformatics.cvr.ac.uk/blog/tag/cigar-string/
            Hide
            srishteeM Srishtee Marotkar (Inactive) added a comment - - edited

            Working:
            1. Depth Graph (Start) for not considering soft-clip works fine for Bam and Sam files on https://www.dropbox.com/sh/wxzhideujatu6ct/AAA4s1PZVa9JjYkN4Bpi1rHba/exampleFiles?dl=0&subfolder_nav_tracking=1, also for attached bam,sam files
            2. Behavior for All the file format available in Smoke Test data at (http://igbquickload.org/smokeTestingQuickload/) except for GFF3 is in sync with Relase 9.0.2

            Not Working:
            1. Please refer attached 'IGBF1441_Testing' document for failure test case details. Depth Graph(Start) for GFF3 files are not generating any graphs. This can be checked against IGB with Release 9.0.2 . (Data Used is smoke testing data as mentioned in point 2 above)

            Show
            srishteeM Srishtee Marotkar (Inactive) added a comment - - edited Working: 1. Depth Graph (Start) for not considering soft-clip works fine for Bam and Sam files on https://www.dropbox.com/sh/wxzhideujatu6ct/AAA4s1PZVa9JjYkN4Bpi1rHba/exampleFiles?dl=0&subfolder_nav_tracking=1 , also for attached bam,sam files 2. Behavior for All the file format available in Smoke Test data at ( http://igbquickload.org/smokeTestingQuickload/ ) except for GFF3 is in sync with Relase 9.0.2 Not Working: 1. Please refer attached 'IGBF1441_Testing' document for failure test case details. Depth Graph(Start) for GFF3 files are not generating any graphs. This can be checked against IGB with Release 9.0.2 . (Data Used is smoke testing data as mentioned in point 2 above)
            Hide
            nfreese Nowlan Freese added a comment -

            Need testing on my current branch to see if the GFF3 files are now working correctly.

            Show
            nfreese Nowlan Freese added a comment - Need testing on my current branch to see if the GFF3 files are now working correctly.
            Hide
            srishteeM Srishtee Marotkar (Inactive) added a comment - - edited

            Please Check 'IGBF1441_Review_Screenshot' attached file.

            Downloaded installer from https://bitbucket.org/nfreese/nowlanfork-igb/downloads/ with name 'IGB-IGBF-1441-SoftclipDepthGraphStartBug-x64.exe' and it is now showing Depth Graph(Start) for GFF3 files loaded from smoking test data

            Show
            srishteeM Srishtee Marotkar (Inactive) added a comment - - edited Please Check 'IGBF1441_Review_Screenshot' attached file. Downloaded installer from https://bitbucket.org/nfreese/nowlanfork-igb/downloads/ with name 'IGB- IGBF-1441 -SoftclipDepthGraphStartBug-x64.exe' and it is now showing Depth Graph(Start) for GFF3 files loaded from smoking test data
            Hide
            nfreese Nowlan Freese added a comment -

            Testing Mac: Working Correctly

            Show
            nfreese Nowlan Freese added a comment - Testing Mac: Working Correctly
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            Linux testing successful

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - Linux testing successful
            Hide
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

            Testing Windows: Working Correctly

            Show
            svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - Testing Windows: Working Correctly

              People

              • Assignee:
                nfreese Nowlan Freese
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: