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
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM
  • seqadmin
    Essential Discoveries and Tools in Epitranscriptomics
    by seqadmin




    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
    04-22-2024, 07:01 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 05-07-2024, 06:57 AM
0 responses
12 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-06-2024, 07:17 AM
0 responses
16 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-02-2024, 08:06 AM
0 responses
21 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-30-2024, 12:17 PM
0 responses
24 views
0 likes
Last Post seqadmin  
Working...
X