All Projects → mixerp → Mixerp.net.vcards

mixerp / Mixerp.net.vcards

Licence: apache-2.0
vCard Serializer and Parser for C#

Programming Languages

csharp
926 projects

Labels

Projects that are alternatives of or similar to Mixerp.net.vcards

cutevariant
A standalone and free application to explore genetics variations from VCF file
Stars: ✭ 61 (+8.93%)
Mutual labels:  vcf
VCF-kit
VCF-kit: Assorted utilities for the variant call format
Stars: ✭ 94 (+67.86%)
Mutual labels:  vcf
Helmsman
highly-efficient & lightweight mutation signature matrix aggregation
Stars: ✭ 19 (-66.07%)
Mutual labels:  vcf
SVCollector
Method to optimally select samples for validation and resequencing
Stars: ✭ 20 (-64.29%)
Mutual labels:  vcf
telegram-json-to-vcf
Convert Telegram Contacts JSON File to VCF File
Stars: ✭ 34 (-39.29%)
Mutual labels:  vcf
Pygeno
Personalized Genomics and Proteomics. Main diet: Ensembl, side dishes: SNPs
Stars: ✭ 261 (+366.07%)
Mutual labels:  vcf
fuc
Frequently used commands in bioinformatics
Stars: ✭ 23 (-58.93%)
Mutual labels:  vcf
16gt
Simultaneous detection of SNPs and Indels using a 16-genotype probabilistic model
Stars: ✭ 26 (-53.57%)
Mutual labels:  vcf
23andme2vcf
convert your 23andme raw file to VCF | DEPRECATED, please see https://github.com/plantimals/2vcf
Stars: ✭ 91 (+62.5%)
Mutual labels:  vcf
Hail
Scalable genomic data analysis.
Stars: ✭ 706 (+1160.71%)
Mutual labels:  vcf
vcf2gwas
Python API for comprehensive GWAS analysis using GEMMA
Stars: ✭ 27 (-51.79%)
Mutual labels:  vcf
Ontologies
Home of the Genomic Feature and Variation Ontology (GFVO)
Stars: ✭ 16 (-71.43%)
Mutual labels:  vcf
Vcard
This vCard PHP library can easily parse or generate/export vCards as .vcf
Stars: ✭ 333 (+494.64%)
Mutual labels:  vcf
jannovar
Annotation of VCF variants with functional impact and from databases (executable+library)
Stars: ✭ 42 (-25%)
Mutual labels:  vcf
Gvanno
Generic germline variant annotation pipeline
Stars: ✭ 23 (-58.93%)
Mutual labels:  vcf
vcf2tsv
Genomic VCF to tab-separated values
Stars: ✭ 27 (-51.79%)
Mutual labels:  vcf
Vcfanno
annotate a VCF with other VCFs/BEDs/tabixed files
Stars: ✭ 259 (+362.5%)
Mutual labels:  vcf
Genozip
Compressor for genomic files (FASTQ, SAM/BAM, VCF, FASTA, GVF, 23andMe...), up to 5x better than gzip and faster too
Stars: ✭ 53 (-5.36%)
Mutual labels:  vcf
Tiledb Vcf
Efficient variant-call data storage and retrieval library using the TileDB storage library.
Stars: ✭ 26 (-53.57%)
Mutual labels:  vcf
Htslib
C library for high-throughput sequencing data formats
Stars: ✭ 529 (+844.64%)
Mutual labels:  vcf

MixERP.Net.VCards

VCards is a standard-compliant, lightweight, and forgiving vCard parser written in C# which supports parsing and serializing vCards. The following versions are supported:

  • Version 2.1
  • Version 3.0
  • Version 4.0

How to Use this Library?

Download Nuget Package

Install-Package MixERP.Net.VCards

Create a vCard

var vcard = new VCard
{
    Version = VCardVersion.V4,
    FormattedName = "John Doe",
    FirstName = "John",
    LastName = "Doe",
    Classification = ClassificationType.Confidential,
    Categories = new[] {"Friend", "Fella", "Amsterdam"},
    //...
};

Serialize a vCard and Save as a VCF File

string serialized = vcard.Serialize();
string path = Path.Combine("C:\", "JohnDoe.vcf");
File.WriteAllText(path, serialized);

Parse a VCF File

IEnumerable<VCard> vcards = MixERP.Net.VCards.Deserializer.Deserialize(path);

or

string contents = File.ReadAllText(path, Encoding.UTF8);
IEnumerable<VCard> vcards = MixERP.Net.VCards.Deserializer.GetVCards(contents);

foreach (var vcard in vcards)
{
    Console.WriteLine(vcard.FirstName + " \t " + vcard.MiddleName + " " + vcard.LastName);
    Console.WriteLine(vcard.FormattedName);
}
Console.ReadLine();

Supported V2 Features:

For more info, please see the specifications here

  • Formatted Name (FN string)
  • Last Name (N string)
  • First Name (N string)
  • Middle Name (N string)
  • Prefix (N string)
  • Suffix (N string)
  • BirthDay (BDAY string)
  • Addresses (ADR complex enumerable)
  • Delivery Address (LABEL complex)
  • Telephones (TEL complex enumerable)
  • Emails (EMAIL complex enumerable)
  • Mailer (MAILER string)
  • Title (TITLE string)
  • Role (ROLE string)
  • Time Zone (TITLE TimeZoneInfo)
  • Logo (LOGO string, Base64 Encoded)
  • Photo (PHOTO string, Base64 Encoded)
  • Note (NOTE string)
  • Last Revision (REV DateTime?)
  • Url (URL Uri)
  • Unique Identifier (UID string)
  • Version (VERSION enum)
  • Organization (ORG string)
  • Organizational Unit (ORG string)
  • Longitude (GEO double)
  • Latitude (GEO double)

Supported V3 Features:

For more info, please see the RFC 2426 specifications here

  • Nick Name (NICKNAME string)
  • Categories (CATEGORIES string[])
  • Sort String (SORT-STRING string)
  • Sound (SOUND string, Base64 Encoded)
  • Key (KEY string, Base64 Encoded)
  • Classification (CLASS enum)

Supported V4 Features:

For more info, please see the RFC 6350 specifications here

  • Source (SOURCE Uri)
  • Kind (KIND enum)
  • Anniversary (ANNIVERSARY DateTime?)
  • Gender (GENDER enum)
  • Impps (IMPP complex ienumerable)
  • Languages (LANG complex enumerable)
  • Relations (RELATED complex enumerable)
  • Calendar User Addresses (CALADRURI Uri enumerable)
  • Calendar Addresses (CALURI complex enumerable)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].