Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AnnaRu
    Junior Member
    • Apr 2015
    • 1

    #1

    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

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2




    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
    10-30-2026, 06:46 AM
  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
32 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
71 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...