Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vcf-isec(1) [debian man page]

VCF-ISEC(1)							   User Commands						       VCF-ISEC(1)

NAME
vcf-isec - create intersections, unions, complements on bgzipped and tabix indexed VCF or tab-delimited files SYNOPSIS
vcf-isec [OPTIONS] file1.vcf file2.vcf ... DESCRIPTION
About: Create intersections, unions, complements on bgzipped and tabix indexed VCF or tab-delimited files. Note that lines from all files can be intermixed together on the output, which can yield unexpected results. OPTIONS
-C, --chromosomes <list|file> Process the given chromosomes (comma-separated list or one chromosome per line in a file). -c, --complement Output positions present in the first file but missing from the other files. -d, --debug Debugging information -f, --force Continue even if the script complains about differing columns. -o, --one-file-only Print only entries from the left-most file. Without -o, all unique positions will be printed. -n, --nfiles [+-=]<int> Output positions present in this many (=), this many or more (+), or this many or fewer (-) files. -p, --prefix <path> If present, multiple files will be created with all possible isec combinations. (Suitable for Venn Diagram analysis.) -t, --tab <chr:pos:file> Tab-delimited file with indexes of chromosome and position columns. (1-based indexes) -w, --win <int> In repetitive sequences, the same indel can be called at different positions. Consider records this far apart as matching (be it a SNP or an indel). -h, -?, --help This help message. EXAMPLES
bgzip file.vcf; tabix -p vcf file.vcf.gz bgzip file.tab; tabix -s 1 -b 2 -e 2 file.tab.gz vcf-isec 0.1.5 July 2011 VCF-ISEC(1)

Check Out this Related Man Page

Text::vCard::Addressbook(3pm)				User Contributed Perl Documentation			     Text::vCard::Addressbook(3pm)

NAME
Text::vCard::Addressbook - a package to parse, edit and create multiple vCards (RFC 2426) SYNOPSIS
use Text::vCard::Addressbook; my $address_book = Text::vCard::Addressbook->new({ 'source_file' => '/path/to/address.vcf', }); foreach my $vcard ($address_book->vcards()) { print "Got card for " . $vcard->fullname() . " "; } DESCRIPTION
This package provides an API to reading / editing and creating multiple vCards. A vCard is an electronic business card. This package has been developed based on rfc2426. You will find that many applications (Apple Address book, MS Outlook, Evolution etc) can export and import vCards. READING IN VCARDS
load() use Text::vCard::Addressbook; # Read in from a list of files my $address_book = Text::vCard::Addressbook->load( ['foo.vCard', 'Addresses.vcf']); This method will croak if it is unable to read in any of the files. import_data() $address_book->import_data($value); This method imports data directly from a string. new() # Read in from just one file my $address_book = Text::vCard::Addressbook->new({ 'source_file' => '/path/to/address.vcf', }); This method will croak if it is unable to read in the source_file. # File already in a string my $address_book = Text::vCard::Addressbook->new({ 'source_text' => $source_text, }); # Create a new address book my $address_book = Text::vCard::Addressbook->new(); Looping through all vcards in an address book. foreach my $vcard ($address_book->vcards()) { $vcard->...; } METHODS
add_vcard() my $vcard = $address_book->add_vcard(); This method creates a new empty Text::vCard object, stores it in the address book and return it so you can add data to it. vcards() my $vcards = $address_book->vcards(); my @vcards = $address_book->vcards(); This method returns a reference to an array or an array of vcards in this address book. This could be an empty list if there are no entries in the address book. set_encoding() $address_book->add_vcard('utf-8'); This method will add the string ';charset=utf-8' to each and every vCard entry. That does help in connection with e.g. an iPhone... export() my $vcf_file = $address_book->export() This method returns the vcard data in the vcf file format. Please note there is no validation, you must ensure that the correct nodes (FN,N,VERSION) are already added to each vcard if you want to comply with RFC 2426. This might not escape the results correctly at the moment. AUTHOR
Leo Lapworth, LLAP@cuckoo.org COPYRIGHT
Copyright (c) 2003 Leo Lapworth. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. ACKNOWLEDGEMENTS
The authors of Text::vFile::asData for making my life so much easier. SEE ALSO
Text::vCard, Text::vCard::Node perl v5.10.1 2011-01-11 Text::vCard::Addressbook(3pm)
Man Page