Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Itay.zemach
    Junior Member
    • May 2013
    • 6

    Opening non indexed BAM file

    Hi all

    I just recieved 11.5GB BAM file and I want to view these sequences.
    I read that first i need to index the file and just then to view it in IGV or Genome Workbench. I am really stuck while trying to index it.
    I read that i need to download samtools so i downloaded it but I cant index it.
    I am win7 64bit user with no bioinformatic knowledge so please help me to understand how to index the file

    Thanks in advance
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Saying you can't do something isn't enough information to help you with anything. Do you receive an error message? What is the command you're trying?

    Comment

    • crazyhottommy
      Senior Member
      • Apr 2012
      • 187

      #3
      you need to sort the bam file first and then index it with samtools

      Comment

      • svural
        Junior Member
        • May 2012
        • 7

        #4
        if you have access to any unix like machine, you can index it like

        samtools index SAMPLE.bam SAMPLE.bai

        And for IGV, keep both bam bai files in the same directory, IGV will find bai file when you ask it to open bam file.

        Comment

        • Itay.zemach
          Junior Member
          • May 2013
          • 6

          #5
          can you recommend for unix like machine to download

          Originally posted by svural View Post
          if you have access to any unix like machine, you can index it like

          samtools index SAMPLE.bam SAMPLE.bai

          And for IGV, keep both bam bai files in the same directory, IGV will find bai file when you ask it to open bam file.
          Can you recommend for unix like machine to download?

          Comment

          • crazyhottommy
            Senior Member
            • Apr 2012
            • 187

            #6
            Originally posted by Itay.zemach View Post
            Can you recommend for unix like machine to download?
            BioLinux would be great for you

            Comment

            • RDW
              Member
              • Oct 2008
              • 63

              #7
              If you downloaded samtools from the official samtools page on Sourceforge, you probably just got source code, which is hard to use on Windows. However, there's an unofficial executable version for Windows here:



              Hopefully this will do what you want (I haven't used it, except to see if it runs). Unzip the download, put samtools.exe and the bam file in the same directory, navigate to that directory from the Windows command prompt, and run samtools from the prompt as in the unix example above.

              Comment

              • Itay.zemach
                Junior Member
                • May 2013
                • 6

                #8
                Thank's RDW
                I will try it and answer ASAP

                Comment

                Latest Articles

                Collapse

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Yesterday, 11:58 AM
                0 responses
                13 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-05-2026, 10:09 AM
                0 responses
                25 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-04-2026, 08:59 AM
                0 responses
                36 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-02-2026, 12:03 PM
                0 responses
                60 views
                0 reactions
                Last Post SEQadmin2  
                Working...