Unconfigured Ad

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

    #1

    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
        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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-11-2026, 10:35 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...