Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Giffredo
    replied
    Code:
    samtools mpileup -f .fas .sorted.bam > .bcf | bcftools view > .vcf&

    Just now I have used

    Code:
    samtools mpileup -f .fas .sorted.bam | tee teeoutput.bcf&
    This "artefact" maybe works..

    Leave a comment:


  • TiborNagy
    replied
    Can you share us the command line?

    Leave a comment:


  • Giffredo
    replied
    I have the same problem but I have not "seen" yet ...

    i want to use mpileup without -u and -g options but all the command line used did not work..

    Leave a comment:


  • prs321
    replied
    Ahh I see i see, thanks.

    Leave a comment:


  • westerman
    replied
    Every example? How about http://samtools.sourceforge.net/mpileup.shtml. One of my first hits via Google.

    However what you are probably overlooking is the proper command line option to mpileup. Either look at the above web page and/or type in 'samtools mpileup' and read the help or look at your output file. It will be good for your eyes to spot the mistake. :-)

    Leave a comment:


  • How do I go about converting a BCF file to a VCF file?

    I tried using BCFtools but I keep getting an error.



    1. I had 2 SAM files that converted to BAM, sorted by chromosome, and finally indexed using Picard.




    2. Using the 2 manipulated BAM files, I used the mpileup command in SAMtools. Here is the specific command:

    samtools mpileup -f ref.fa in.bam in2.bam > in_in2_pileup.bcf




    3. After this step I wanted to get the vcf format. I used bcftools and the command view in order to do this:

    bcftools view in_in2_pileup.bcf > in_in2_pileup.vcf


    The error that I received after executing this command:

    incorrect number of fields (0 != 5) at 0:0






    PS. I tried looking my problem up in google search and every example seemed to be irrelevant in my case.

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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
22 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
14 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
67 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
47 views
0 reactions
Last Post SEQadmin2  
Working...