Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tom_mlvs
    Junior Member
    • Feb 2012
    • 2

    #1

    post-assembly genome analysis workflow question

    Hi All,

    We want to extract sequence information (for various genes) from a number of genome assemblies and generate consensus sequences for comparison between genomes representing different experiments.

    What we have been doing is using samtools to extract regions from the genomic bam file, then trying to convert those into fasta format using bam2fastq. Everything we've extracted has been groups of overlapping short reads, we have not been successful at obtaining consensus sequences.

    Is there an alternative workflow that would be more efficient/better? Are there suggestions for tools we should be using instead of/in addition to samtools and bam2fastq?

    (Note: We have tried using the samtools programs (mpileup, bcf view, and vcfutils.pl) to generate a consensus sequence. Unfortunately, the (pipelined and non-pipelined) use of the program ‘bcftools view’ generates the following error: [bcf_sync] incorrect number of fields (0 != 5) at 0:0)).
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    You are trying to make a vcf with bcftools? That should work, there's probably something off about your input file.

    Do you mean genome assemblies, or alignments? I assume alignments, since you have bam files?

    I suppose you could try using samtools view to pull sections of your .bam, and then you could put those .bams through velvet, to assemble a consensus for that sample at that region.

    But I think getting the vcf files for those regions is the way to go. You just aren't doing it right.

    Comment

    • tom_mlvs
      Junior Member
      • Feb 2012
      • 2

      #3
      We've been trying to pull out a chromosome, and go at it that way. Should be be doing it gene by gene instead, or is there something obviously wrong here:

      samtools view -b exome_input.bam 12 > chr12.bam
      samtools mpileup -f chr12.fa chr12.bam > chr12_pileup
      bcftools view -cg chr12_pileup > chr12_vcf


      edit:
      It seems we're not the only ones to get the following error
      [bcf_sync] incorrect number of fields (0 != 5) at 0:0))

      Maybe the suggestions here (nohup) will fix it:
      Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

      Will update when we've tried.

      Thanks
      Last edited by tom_mlvs; 02-07-2012, 12:17 PM.

      Comment

      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
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 11:13 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...