Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BEAGLE errors: Allele not in marker file / Number of fields in .gprobs isn't %3

    I'm trying to phase a specific genome against the 1000 genomes data.

    What I've done so far:
    1. fastq-dump --split-3: SRA -> FastQ
    2. FastQC
    3. trim_galore
    4. bowtie2: alignment against hg19
    5. samtools, bcftools: SAM/BAM -> VCF
    6. vcftools: VCF -> VCF for chr1 with minQ=50
    7. since the resulting file doesn't have rsIDs in it (the column contains dots), I downloaded snp138.txt.gz from http://hgdownload.cse.ucsc.edu/goldenPath/hg19/database and used the data from it to fill in the missing rsIDs (wrote a script; there's a few rsIDs that are present in the VCF, but missing in snp138, so I ditched the corresponding records)
    8. vcf2beagle.jar: mydata.vcf -> mydata.bgl.gz, mydata.int, mydata.markers
    9. Downloaded the "reference" files for chr1 from this site: http://hgdownload.cse.ucsc.edu/gbdb/hg19/1000Genomes/ (the bigger one, ALL.chr1.integrated_phase1_v3.20101123.snps_indels_svs.genotypes.vcf.gz and its index).
    10. vcf2beagle.jar: reference.vcf -> reference.bgl.gz, reference.int, reference.markers.


    Now I'm trying to run this with
    Code:
    java -jar beagle.jar unphased=mydata.bgl.gz phased=reference.bgl.gz markers=reference.markers missing=? out=phased
    Notice the markers=reference.markers option.
    I also tried it with markers=mydata.markers, but I'm not entirely sure which markers file I should be passing to Beagle (<-- question #1).
    (Also experimented with like=mydata.bgl.gz, didn't affect anything.)

    But there's no difference, because it fails after about 10 seconds with 'ERROR: Allele in data file but not in marker file: allele "C" for marker rs6603854', or a different allele and marker, depending on which marker file I'm using. How do I fix this? (<-- question #2)

    Sometimes (I couldn't replicate this now), it fails with "number of fields in the .gprobs file is not divisible by 3", even though I don't have any .gprobs file to begin with, and it is only generated by Beagle itself. What does this even mean? (<-- question #3)

    Also, am I using the correct files (are they all for hg19?) and tools, even? (<-- question #4)

    Any help will be much appreciated!
    Last edited by LankyCyril; 11-20-2013, 07:54 AM. Reason: fixed formatting

Latest Articles

Collapse

  • seqadmin
    Current Approaches to Protein Sequencing
    by seqadmin


    Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
    04-04-2024, 04:25 PM
  • seqadmin
    Strategies for Sequencing Challenging Samples
    by seqadmin


    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
    03-22-2024, 06:39 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 04-11-2024, 12:08 PM
0 responses
25 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
27 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 09:21 AM
0 responses
24 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-04-2024, 09:00 AM
0 responses
52 views
0 likes
Last Post seqadmin  
Working...
X