Snpid Lister Download Apr 2026
# Install BCFtools (includes snpid-lister functionality) conda install -c bioconda bcftools Or if you have a standalone script:
git clone https://github.com/your-repo/snpid-lister.git cd snpid-lister chmod +x snpid-lister.pl # or .py Option A: Using BCFtools (recommended) bcftools query -f '%ID\n' your_file.vcf.gz > snp_ids.txt This lists all variant IDs (rsIDs or custom IDs). Option B: If using snpid-lister script ./snpid-lister --vcf input.vcf --out snp_list.txt 5. Match rsIDs from dbSNP (if VCF has no IDs) bcftools annotate -a dbsnp.vcf.gz -c ID -o annotated.vcf input.vcf bcftools query -f '%ID\n' annotated.vcf > rsid_list.txt 6. Example output snp_ids.txt contains one SNP ID per line: snpid lister download