Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lspoor
    Member
    • Mar 2010
    • 18

    #1

    samtools.pl pileup2fq problem?

    Hi,

    I am new to Samtools, and have a problem which I think must be simple to fix!

    I am trying to use the following command on my dataset as per the manual:
    $ samtools pileup -cf ref.fa aln.bam | samtools.pl pileup2fq -D100 > cns.fastq

    And get the error:
    command not found.

    I have tried generating the pileup file separately using Samtools which works fine, so I am assuming I have a problem running the perl script? I have downloaded the latest version of Samtools (v0.1.16), so I guess this means I need to download something else/extra component or a specific perl script in order to get this to work?

    Any help appreciated!
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    Do the two parts separately.

    You observed that the samtools.pl is by default in the misc folder, not in the same directory as the samtools program itself, right? So probably, the reason it can't find the perl script is because it's not where you told the computer to look.

    The samtools.pl script has only one bit that needs to be present to run, Getopt::Std, and I think that's pretty standard. It would tell you that you didn't have it if that were the problem.

    Comment

    • Lspoor
      Member
      • Mar 2010
      • 18

      #3
      Fixed!

      And I just realised if I specified the path to samtools.p it worked! PLease delete my thread as it is no longer needed!

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:13 AM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Today, 10:48 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      32 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      40 views
      0 reactions
      Last Post SEQadmin2  
      Working...