Sha256: c835d4cdd8eed57fadf36edfca0a045597e60218f63b9c686673cbd2a46d22e0

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 Bytes

Contents

=HEADER
<% require 'json' %>
{
    "HEADER": {
	"options": <%= options.to_h.to_json %>,
	"files": <%= ARGV %>,
	"version": "<%= BIOVCF_VERSION %>"
    },
    "BODY": [
=BODY
	{
	    "seq:chr": "<%= rec.chrom %>",
	    "seq:pos": <%= rec.pos %>,
	    "seq:ref": "<%= rec.ref %>",
	    "seq:alt": "<%= rec.alt[0] %>",
	    "dp":      <%= rec.info.dp %>
	},
=FOOTER
    ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bio-vcf-0.9.5 template/vcf2json.erb
bio-vcf-0.9.4 template/vcf2json.erb
bio-vcf-0.9.2 template/vcf2json.erb
bio-vcf-0.9.0 template/vcf2json.erb