LieberInstitute / Habenula_Pilot

habenulaPilot project code repository
0 stars 0 forks source link

Generate snp PC values #7

Closed lahuuki closed 1 year ago

lahuuki commented 1 year ago

Use genotype data generate snpPC values check MDDseq code

lahuuki commented 1 year ago

@reneegf I think you'll need to follow what we did in these two scripts using plink:

  1. Create bed files from the VCF using plink (example from MDDseq)
    #!/bin/bash
    module load plink
    plink --vcf input.vcf.gz --make-bed --out output
  2. Use other plink commands to make the MDS file which contains the snpPCs MDDseq script running plink via R