Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • mpileup on whole genome bam file

    Hi:

    I am writing to know users experience about mpileup snp calling with human whole genome bam file.

    my 'de-duped' sorted bam file is ~55GB in size.

    When I ran mpileup on these files, it has been running continuously for 4 days on a cluster node with 16 processor 64gb node.

    For some bam files:

    the output file of the node job has this following information:

    [bcfview] 26800000 sites processed.
    [afs] 0:91696.193 1:4741.654 2:3562.153
    [bcfview] 26900000 sites processed.
    [afs] 0:89785.449 1:6797.768 2:3416.783

    Similarly the error output file has this information:

    Warning: no access to tty (Bad file descriptor).
    Thus no job control in this shell.
    Terminated

    I have two questions in this context:

    1. Is my process complete or this is a genuine error that mpileup is not finished.

    2. What is the better practice of calling SNPs using mpileup for human whole genome sequence data (where a bam file is over 50GB in size - if size is a concern).

    Thanks
    Adrian

  • #2
    bcfview] 26800000 sites processed.
    [afs] 0:91696.193 1:4741.654 2:3562.153
    [bcfview] 26900000 sites processed.
    [afs] 0:89785.449 1:6797.768 2:3416.783
    That part looks normal. Isn't TTY your command window?

    Why don't you try making a smaller .bam with samtools view, and seeing if mpileup can get through that?

    Comment


    • #3
      thank you. that is a really good idea. Since I have two replicates I will separate every chromosome for both files and run mpileup chromosome by chromosome.
      How can I have a bam file for chromsome with header?


      Here is what I did (just for chr21)

      samtools view s6.ddup.bam chr21 > s6.chr21.ddup.bam


      -h print header for the SAM output
      -H print header only (no alignments)


      Can I do this? Is this valid?

      samtools view -bh s6.ddup.bam chr21 > s6.chr21.ddup.bam


      thanks
      Adrian

      Comment


      • #4
        Originally posted by adrian View Post
        samtools view -bh s6.ddup.bam chr21 > s6.chr21.ddup.bam
        That does the job indeed. Afterwards index the new BAM file (samtools index) and you're good to go.

        I get the tty warning as well, doesn't seem to be any problem..

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM
        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        25 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        52 views
        0 likes
        Last Post seqadmin  
        Working...
        X