Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Samtools problem on a "rocks" cluster

    I am having some problems getting samtools to run on a machine that is part of a rocks (v. 4.3) cluster (it happens to be the head-node which has 16GB RAM).

    Even if I use the pre-compiled binary available from the samtools site (or compile samtools locally from source) I am getting a segmentation fault running samtools ("import"). The job is *not* being submitted to cluster queue. I want to make sure samtools actually runs and completes a job on this OS.

    Has anyone else ran into this before?

    BTW: How may of you are using "rocks" based cluster(s) for processing/analyzing next gen sequence data?

    -- Hemant

  • #2
    I often use maq or bwa on a rocks cluster, but haven't used samtools yet. But if the job is not being submitted to the queue, then how do you know that samtools is segfaulting? Some examples of commands, output, your shell script you're submitting to the queue, etc, would be helpful ...

    Comment


    • #3
      Originally posted by jnfass View Post
      I often use maq or bwa on a rocks cluster, but haven't used samtools yet. But if the job is not being submitted to the queue, then how do you know that samtools is segfaulting? Some examples of commands, output, your shell script you're submitting to the queue, etc, would be helpful ...
      Let us set aside the fact that this is a cluster for a moment. I am trying to make sure the program can run successfully on the head node.

      I am logged into the head node and then run a basic --> samtools "import" database *.sam *.bam command. samtools runs for sometime (e.g. I get this: [sam_header_read2] 28203826 sequences loaded) and then the program seg faults without producing any additional error messages.

      Any ideas?

      Comment


      • #4
        sorry - seems like a straight samtools problem, unrelated to cluster usage (if you've used the command successfully on other data, you could verify that) ...

        I can't help, but I'd suggest you post the exact command, and the exact output, so others might be able to help you. Good luck!

        Comment


        • #5
          Originally posted by GenoMax View Post
          I am having some problems getting samtools to run on a machine that is part of a rocks (v. 4.3) cluster (it happens to be the head-node which has 16GB RAM).

          Even if I use the pre-compiled binary available from the samtools site (or compile samtools locally from source) I am getting a segmentation fault running samtools ("import"). The job is *not* being submitted to cluster queue. I want to make sure samtools actually runs and completes a job on this OS.

          Has anyone else ran into this before?

          BTW: How may of you are using "rocks" based cluster(s) for processing/analyzing next gen sequence data?

          -- Hemant
          Can you give me the command you are using? What version of rocks and zlib are you using? We have rocks 4 and 5 running with samtools.

          Comment


          • #6
            Originally posted by nilshomer View Post
            Can you give me the command you are using? What version of rocks and zlib are you using? We have rocks 4 and 5 running with samtools.
            This is the command line:

            samtools import ~/index/hg18.fa ~/single/single_end_mod.txt.part10.sam ~/single/single_end_mod.txt.part10.bam

            Rocks v.4.3 and the stock zlib that came with 4.3 (which is 1.2.1 I think).

            Comment


            • #7
              Originally posted by GenoMax View Post
              This is the command line:

              samtools import ~/index/hg18.fa ~/single/single_end_mod.txt.part10.sam ~/single/single_end_mod.txt.part10.bam

              Rocks v.4.3 and the stock zlib that came with 4.3 (which is 1.2.1 I think).
              Try running
              Code:
              samtools faidx ~/index/hg18.fa
              before the import. You need to index the reference.
              Then run
              Code:
              samtools import ~/index/hg18.fa.fai ~/single/single_end_mod.txt.part10.sam ~/single/single_end_mod.txt.part10.bam
              (notice the *fa.fai instead of *fa since the argument for import is a reference list, not the reference).

              Comment


              • #8
                samtools import <in.ref_list> <in.sam> <out.bam>
                Since 0.1.4, this command is an alias of:
                samtools view -bt <in.ref_list> -o <out.bam> <in.sam>

                so you can use "samtools view -bt" instead. Before "view" ,you should run "samtools faidx" first. I am using rocks 4.3 cluster, and have not met some problem with samtools. Good luck to you

                Comment


                • #9
                  Thanks "nilshomer" and "jfshao1984" for pointing out the solution.

                  Comment

                  Latest Articles

                  Collapse

                  • seqadmin
                    Recent Advances in Sequencing Technologies
                    by seqadmin



                    Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                    Long-Read Sequencing
                    Long-read sequencing has seen remarkable advancements,...
                    12-02-2024, 01:49 PM
                  • seqadmin
                    Genetic Variation in Immunogenetics and Antibody Diversity
                    by seqadmin



                    The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
                    11-06-2024, 07:24 PM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by seqadmin, 12-02-2024, 09:29 AM
                  0 responses
                  151 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 12-02-2024, 09:06 AM
                  0 responses
                  51 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 12-02-2024, 08:03 AM
                  0 responses
                  43 views
                  0 likes
                  Last Post seqadmin  
                  Started by seqadmin, 11-22-2024, 07:36 AM
                  0 responses
                  76 views
                  0 likes
                  Last Post seqadmin  
                  Working...
                  X