Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gringer
    David Eccles (gringer)
    • May 2011
    • 845

    #16
    I've filed a bug for this in github:

    Reporting on behalf of seqanswers user xmubingo, using VCF utils to generate a consensus assembly doesn't work properly because mpileup is not reporting all bases. The generated sequence from mpile...


    In the meantime, you'll either have to use my script with the reference fasta file (in which case INDELs will change the length of the generated sequence), or add a dummy SAM line for each sequence in the reference fasta file that covers the entire range of the sequence.

    Comment

    • xmubingo
      Member
      • Sep 2013
      • 13

      #17
      Originally posted by gringer View Post
      I've filed a bug for this in github:

      Reporting on behalf of seqanswers user xmubingo, using VCF utils to generate a consensus assembly doesn't work properly because mpileup is not reporting all bases. The generated sequence from mpile...


      In the meantime, you'll either have to use my script with the reference fasta file (in which case INDELs will change the length of the generated sequence), or add a dummy SAM line for each sequence in the reference fasta file that covers the entire range of the sequence.
      Hi gringer, Thanks a lot!! I will try your code.

      Comment

      • xmubingo
        Member
        • Sep 2013
        • 13

        #18
        Originally posted by gringer View Post
        I've filed a bug for this in github:

        Reporting on behalf of seqanswers user xmubingo, using VCF utils to generate a consensus assembly doesn't work properly because mpileup is not reporting all bases. The generated sequence from mpile...


        In the meantime, you'll either have to use my script with the reference fasta file (in which case INDELs will change the length of the generated sequence), or add a dummy SAM line for each sequence in the reference fasta file that covers the entire range of the sequence.
        Hi gringer, i think find a way to solve this problem. Although the consensus sequence(cns.fa -> cns.fa) generated by vcf2fq doesn't have same length as it in reference sequence. but i find the sequence in cns.fa just lacks of some 'n' in its tail. So, we can add some 'n' to the sequences to make its length equal to its original length. for example:

        cns.fa
        Code:
        >seq1
        nnnnnnnnnnnnnnnAAAATTTTTCCCCGGGGgggccccGGTTTg
        cns.fa.fixed
        Code:
        >seq1
        nnnnnnnnnnnnnnnAAAATTTTTCCCCGGGGgggccccGGTTTgnnnnnnnnnnnnn

        Comment

        • jiewencai
          Junior Member
          • Oct 2012
          • 3

          #19
          It's amazing

          Originally posted by gringer View Post
          I have a slightly different processing script, but the command you have seems to work for me on my mitochondrial data (i.e. it produces a fastq file at the end of it).

          I've attached my modified vcf2fq script to this post [also the fairly trivial fastq2fasta], maybe it will help to diagnose the problem.
          The original vcf2fq can't producing sequence containing indels, and it's really bother me a lot,but this one can produce sequence containing indels,that's amazing.

          Comment

          • Yuhuan Meng
            Junior Member
            • Nov 2015
            • 2

            #20
            I have a problem, if the new genome.fa contain indels, the position would be changed, if I call the genes with gtf from new genome, the called genes will not with the same regions compared with original genes in the original genome.

            Comment

            • gringer
              David Eccles (gringer)
              • May 2011
              • 845

              #21
              ... so don't use a non-reference genome for defining the location of variants. Always link back to the reference genome when defining positions.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                by SEQadmin2



                CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                Despite this, “CRISPR helped turn genome editing from a specialized technique into
                ...
                07-31-2026, 11:01 AM
              • SEQadmin2
                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                by SEQadmin2


                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                The systematic characterization of the human proteome has
                ...
                07-20-2026, 11:48 AM
              • SEQadmin2
                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                by SEQadmin2



                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                ...
                07-09-2026, 11:10 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 08-06-2026, 07:41 AM
              0 responses
              13 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 08-03-2026, 10:13 AM
              0 responses
              30 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-31-2026, 02:55 AM
              0 responses
              40 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 07-24-2026, 12:17 PM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Working...