Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Mismatch between number of lines in plink .ped files and corresponding .map file

    I have a problem with a mismatch between the number of columns in a plink .ped file and the corresponding map file; when I try to produce a .bed file I get the error message below.

    I would be really really grateful for any input on this!

    17028030 (of 17028030) markers to be included from [ raw_phased.map ]

    ERROR:
    A problem with line 1 in [ raw_phased.ped ]
    Expecting 6 + 2 * 17028030 = 34056066 columns, but found 20352684

    The ped.file has the first 6 columns and they seem correct. The map file seems fine too. Code used below:


    I have used an unfiltered vcf file to make sure that it is not due to filtering issues, and phased it using beagle:


    module load beagle

    java -Xmx4000m -jar /projects/cees/bin/beagle-4.0/b4.r1274.jar gt=../islands_parents_treeHM60_1.vcf ibd=true out=raw_phased nthreads=16 phase-its=10


    Then I use vcftools to produce the plink .ped and map files

    vcftools --gzvcf raw_phased.vcf.gz --plink --out raw_phased

    Then the problem arises when I try to produce .bed and .raw files using plink
    (version 1.07, the only one on the cluster, so that is how it has to be). In these steps no files are produced and the error message on top is displayed in the plink.log

    #making bed file with plink
    plink --file raw_phased --make-bed

    #produce a .raw file that can be read into R using read.table
    plink --recodeA --file raw_phased

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
30 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
32 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 09:21 AM
0 responses
28 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