Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shis
    Member
    • Apr 2014
    • 16

    BWA alignment for multiple genotypes

    Hello expert members,
    I would like to get your advice regarding BWA alignment options. I found in the bwa manual that it uses only two read files for paired-end and one read file for single-end data at a time. However, I have 3 genotypes (each has two fastq files) to identify and compare SNPs among them. According to the BWA guideline, I used two (read1.fastq and read2.fastq) files of one genotype at a time to make alignment against the reference genome using the following command line:

    bwa mem ref.fasta BH_1.fastq_filtered BH_2.fastq_filtered > aln-BH.sam
    bwa mem ref.fasta Cyp_1.fastq_filtered Cyp_2.fastq_filtered > aln-Cyp.sam
    bwa mem ref.fasta SR_1.fastq_filtered SR_2.fastq_filtered > aln-SR.sam

    Now I have 3 *.sam files for the 3 genotypes for SNPs variant calling. My question - is it possible to use all 6 fastq files from 3 genotypes in the single command to get a single *.sam file like below:

    bwa mem ref.fasta BH_1.fastq_filtered BH_2.fastq_filtered Cyp_1.fastq_filtered Cyp_2.fastq_filtered SR_1.fastq_filtered SR_1.fastq_filtered > aln-bwa.sam

    Thank you so much for taking your valuable time and I would appreciate your advice.

    Thanks
    Shofi
  • shis
    Member
    • Apr 2014
    • 16

    #2
    How to compare vcf file containing snps between two cultivars

    Hi all,
    I have three vcf files containing SNPs of three different cultivars. The SNPs were called using GATK's UnifiedGenotyper program. After stringent filtering with GATK's hard filters, I have approx. approx. 3.5 millions SNPs in the three cultivars. Now I would like to compare between two cultivars based on the vcf files to identify common and specific SNPs in vcf1/vcf2, vcf1/vcf3 and vcf2/vcf3, and also like to generate venn diagram.

    Can anyone suggest me - which tool I can use to identify common and specific SNPs between two cultivars? I do appreciate your help.
    Last edited by shis; 01-21-2017, 09:18 AM.

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      Coincidentally, I just released a program for this purpose, in the BBMap package. You can use it like this:

      Code:
      comparevcf.sh in=sample1.vcf,sample2.vcf out=difference.vcf subtract
      It supports union, intersection, and subtraction. Note that subtraction is order-dependent while the other operations are not.

      Comment

      Latest Articles

      Collapse

      • 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.
        ...
        Yesterday, 11:10 AM
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 10:04 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      7 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      31 views
      0 reactions
      Last Post SEQadmin2  
      Working...