Sha256: 3a25b97bc613ab38b1d337778964306d75423ba1ab78c499b5d71f952640343b

Contents?: true

Size: 496 Bytes

Versions: 4

Compression:

Stored size: 496 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

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