Header Leaderboard Ad

Collapse

Doubts regarding samtools mpileup - Call somatic mutations from a pair of samples ?

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Doubts regarding samtools mpileup - Call somatic mutations from a pair of samples ?

    I am trying to compare two samples for somatic mutations using Samtools mpileup. (RNAseq data)


    The two .bam files or samples I am comparing include multiple samples merged together into them (3 .bam files in one and 8 in other- merged using samtools merge)

    The command given in the manual
    ( " samtools mpileup -DSuf ref.fa aln.bam | bcftools view -bvcgT pair - > var.bcf" ) doesnt specify the number of samples (inputs)

    I used this command

    samtools mpileup -DSuf ref.fa aln1.bam aln2.bam | bcftools view -bvcgT pair - > var.bcf

    It gives me back the error saying
    "[mpileup] 1 samples in 2 input files
    <mpileup> Set max per-file depth to 8000
    [afs] 0:0.000"

    I also tried to make a sample.txt file for the two samples (merged files) and used this command

    "samtools mpileup -DSuf ref.fa aln1.bam aln2.bam | bcftools view -bvcgT pair -s samples.txt - > var.bcf "

    I still get an error (different error)

    Is there anything wrong here ?

    What should be the ideal steps to find out somatic variants between two samples ? (samples include multiple bam files merged together)

    Please suggest me some steps to be followed in order to find out somatic variants by comparing two samples using samtools mpileup

    Thanks!

  • #2
    Originally posted by swapnil2188 View Post
    I am trying to compare two samples for somatic mutations using Samtools mpileup. (RNAseq data)


    The two .bam files or samples I am comparing include multiple samples merged together into them (3 .bam files in one and 8 in other- merged using samtools merge)

    The command given in the manual
    ( " samtools mpileup -DSuf ref.fa aln.bam | bcftools view -bvcgT pair - > var.bcf" ) doesnt specify the number of samples (inputs)

    I used this command

    samtools mpileup -DSuf ref.fa aln1.bam aln2.bam | bcftools view -bvcgT pair - > var.bcf

    It gives me back the error saying
    "[mpileup] 1 samples in 2 input files
    <mpileup> Set max per-file depth to 8000
    [afs] 0:0.000"

    I also tried to make a sample.txt file for the two samples (merged files) and used this command

    "samtools mpileup -DSuf ref.fa aln1.bam aln2.bam | bcftools view -bvcgT pair -s samples.txt - > var.bcf "

    I still get an error (different error)

    Is there anything wrong here ?

    What should be the ideal steps to find out somatic variants between two samples ? (samples include multiple bam files merged together)

    Please suggest me some steps to be followed in order to find out somatic variants by comparing two samples using samtools mpileup

    Thanks!
    Please can Anyone help me with this ?

    I am waiting for response !

    Thank You !

    Comment


    • #3
      Do you have read group information specified in the two files?

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 06-01-2023, 08:56 PM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-01-2023, 07:33 AM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-31-2023, 07:50 AM
      0 responses
      4 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-26-2023, 09:22 AM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Working...
      X