Sha256: 83a101c974c21bbe007858744da2a265aa2678e445428c5925b15da19ba1c7be

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 Bytes

Contents

=HEADER
<% require 'json' %>
[
  { "HEADER": {
    "options":  <%= options.to_h.to_json %>,
    "files":    <%= ARGV %>,
    "version":  "<%= BLASTXML_VERSION %>"
  },

=BODY
  { "<%= hit.parent.query_def %>": {
    "query_id":  "<%= hit.parent.query_id %>",
    "num":       <%= hit.hit_num %>,
    "accession": "<%= hit.accession %>",
    "id":        "<%= hit.hit_id %>",
    "len":       <%= hit.len %>,
    "E-value":   <%= hsp.evalue %>,
    "identity":  <%= hsp.identity %>,
    "align_len": <%= hsp.align_len %>,
    "bitscore":  <%= hsp.bit_score %>,
    "qseq":      "<%= hsp.qseq %>",
    "midline":   "<%= hsp.midline %>", 
    "hseq":      "<%= hsp.hseq %>",
  },

=FOOTER
]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bio-blastxmlparser-2.0.4 template/blast2json2.erb
bio-blastxmlparser-2.0.3 template/blast2json2.erb
bio-blastxmlparser-2.0.2 template/blast2json2.erb