Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Jun 7, 2016
1 parent 22e43e6 commit e45dba6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,23 @@ vcfobj = vcf_read("in.vcf")
vcf_write("out.vcf", vcfobj)
```

***VCF Operations***
```julia
using OpenGene

v1 = vcf_read("v1.vcf")
v2 = vcf_read("v2.vcf")

# merge
v_merge = v1 + v2

# intersect
v_intersect = v1 * v2

# remove v2 records from v1
v_minus = v1 - v2
```

***read/write a GTF***
```julia
using OpenGene
Expand Down

0 comments on commit e45dba6

Please sign in to comment.