Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • How to get consensus sequence from .sam file?

    I'm trying to get consensus sequence from sam file according to the instruction from samtools website as below.

    samtools pileup -cf ref.fa aln.bam | samtools.pl pileup2fq -D100 > cns.fastq

    However, there is actually no samtools.pl. Is there any way I could get the consensus sequence from sam file?

    Thanks

  • #2
    In the latest release, its in the misc folder. And I think the latest release has a vcf2fq subroutine in vcfutils, but it's slow because you have to make a massive all-points .bcf file, and neither program will correct for indels.

    Comment


    • #3
      Yes, I found samtools.pl in misc folder. Thanks.

      Comment


      • #4
        I think you may find this link helpful


        Pileup is now depreciated.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Understanding Genetic Influence on Infectious Disease
          by seqadmin




          During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

          Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
          09-09-2024, 10:59 AM
        • seqadmin
          Addressing Off-Target Effects in CRISPR Technologies
          by seqadmin






          The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
          08-27-2024, 04:44 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 02:44 PM
        0 responses
        8 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-06-2024, 08:02 AM
        0 responses
        143 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 09-03-2024, 08:30 AM
        0 responses
        151 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 08-27-2024, 04:40 AM
        0 responses
        158 views
        0 likes
        Last Post seqadmin  
        Working...
        X