Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb

      Description

      Situation: Because the bai file does not include the chromosome information, we have been assuming that the order of the bai file chromosomes are the same as that in IGB. However, many bai files are not ordered exactly the same as IGB. The only way to know for sure the order of the bai file is to look at the header of the bam file. However, because we allow the user to load a bai file directly, there may not be a readable bam file.

      Task: Within the BAI index visualization handler plugin, write code to identify if there is a readable bam file. The bam file should be located in the same directory as the bai file and should have the same name as the bai file, but with a .bam extension. Note that the bai itself may have .bam in front of the .bai extension (EXAMPLE.bam.bai). If a bam file is present, use the appropriate Samtools method to retrieve the bam header.

        Attachments

          Issue Links

            Activity

            nfreese Nowlan Freese created issue -
            nfreese Nowlan Freese made changes -
            Field Original Value New Value
            Epic Link IGBF-1919 [ 18010 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-2210 [ IGBF-2210 ]
            nfreese Nowlan Freese made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 1 : 25 Dec to 17 Jan [ 84 ] Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan [ 84, 85 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan [ 84, 85 ] Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb [ 84, 85, 86 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Pawan Bole [ pbole ]
            nfreese Nowlan Freese made changes -
            Description When a user loads a bai file, need to check if there is a bam header so that we can determine the order of the chromosomes. If the bam header is available, order the chromosomes for the bai graph in IGB in the same order as the bam header. Situation: Because the bai file does not include the chromosome information, we have been assuming that the order of the bai file chromosomes are the same as that in IGB. However, many bai files are not ordered exactly the same as IGB. The only way to know for sure the order of the bai file is to look at the header of the bam file. However, because we allow the user to load a bai file directly, there may not be a readable bam file.

            Task: Within the BAI index visualization handler plugin, write code to identify if there is a readable bam file. The bam file should be located in the same directory as the bai file and should have the same name as the bai file, but with a .bam extension. Note that the bai itself may have .bam in front of the .bai extension (EXAMPLE.bam.bai). If a bam file is present, use the appropriate Samtools method to retrieve the bam header.
            nfreese Nowlan Freese made changes -
            Story Points 5 2
            nfreese Nowlan Freese made changes -
            Link This issue blocks IGBF-2269 [ IGBF-2269 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb [ 84, 85, 86 ] Spring 1 : 25 Dec to 17 Jan, Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 21 Feb [ 84, 85, 86, 87 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            nfreese Nowlan Freese added a comment -

            Able to read bam file header.

            Closing issue.

            Show
            nfreese Nowlan Freese added a comment - Able to read bam file header. Closing issue.
            nfreese Nowlan Freese made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            nfreese Nowlan Freese made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            nfreese Nowlan Freese made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            nfreese Nowlan Freese made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            nfreese Nowlan Freese made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            nfreese Nowlan Freese made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            nfreese Nowlan Freese made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

              People

              • Assignee:
                pbole Pawan Bole (Inactive)
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: