Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jianfeng.mao
    Member
    • Dec 2010
    • 12

    #1

    mpileup failed when using samtools.pl varFilter

    I used the upper 1000 lines of my sam file to test the pileup process. My mpileup failed, at the second step when using samtools.pl varFilter.

    Could you give any directions? I am very new on it. I want to know what has happened? How it can be fixed?

    Command_1(here I got a good output):
    samtools mpileup -ugf ../01_AL3C3P1-4/Alyrref.folded.fa maplist1000bam-sorted.bam.bam | /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/bcftools/bcftools view -bvcg - > var.raw.bcf

    Command_2(here I got error):
    /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/bcftools/bcftools view var.raw.bcf | perl /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl varFilter -D 100 > var.flt.vcf

    Error:
    Use of uninitialized value in string eq at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 84, <> line 2.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 2.
    Argument "alt-reverse" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 3.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 4.
    Argument "all" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 5.
    Argument "of" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 6.
    Argument "allele" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 7.
    Argument "bias" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 8.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 9.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 12.
    Use of uninitialized value in string eq at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 84, <> line 13.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 13.
    Use of uninitialized value in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 14.
    Argument "values" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 15.
    Argument "INFO" isn't numeric in numeric lt (<) at /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/misc/samtools.pl line 93, <> line 16.
  • jianfeng.mao
    Member
    • Dec 2010
    • 12

    #2
    The first step works for me, I checked the "var.raw.bcf".

    the commmand:
    $ /ebio/abt6_projects/backup/solexa_tools/SAMtools/samtools-svn/bcftools/bcftools view var.raw.bcf

    the output:
    ##fileformat=VCFv4.0
    ##INFO=<ID=DP,Number=1,Type=Integer,Description="Raw read depth">
    ##INFO=<ID=DP4,Number=4,Type=Integer,Description="# high-quality ref-forward bases, ref-reverse, alt-forward and alt-reverse bases">
    ##INFO=<ID=MQ,Number=1,Type=Integer,Description="Root-mean-square mapping quality of covering reads">
    ##INFO=<ID=FQ,Number=1,Type=Float,Description="Phred probability that sample chromosomes are not all the same">
    ##INFO=<ID=AF1,Number=1,Type=Float,Description="Max-likelihood estimate of the site allele frequency of the first ALT allele">
    ##INFO=<ID=CI95,Number=2,Type=Float,Description="Equal-tail Bayesian credible interval of the site allele frequency at the 95% level">
    ##INFO=<ID=PV4,Number=4,Type=Float,Description="P-values for strand bias, baseQ bias, mapQ bias and tail distance bias">
    ##INFO=<ID=INDEL,Number=0,Type=Flag,Descriptin="Indicates that the variant is an INDEL.">
    ##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
    ##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality">
    ##FORMAT=<ID=GL,Number=3,Type=Float,Description="Likelihoods for RR,RA,AA genotypes (R=ref,A=alt)">
    ##FORMAT=<ID=DP,Number=1,Type=Integer,Description="# high-quality bases">
    ##FORMAT=<ID=SP,Number=1,Type=Integer,Description="Phred-scaled strand bias P-value">
    ##FORMAT=<ID=PL,Number=-1,Type=Integer,Description="List of Phred-scaled genotype likelihoods, number of values is (#ALT+1)*(#ALT+2)/2">
    #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT map.list1000.bam

    Comment

    • yashumayank
      Junior Member
      • Jun 2011
      • 1

      #3
      U are using wrong script I think. Use "vcfutils.pl varFilter" as suggested in the manual of mpileup.
      Last edited by yashumayank; 07-11-2011, 08:50 AM. Reason: spelling of script

      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, Yesterday, 11:13 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...