diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index 29c2546..6f0ad0e 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -15,6 +15,7 @@ def pept2data # Request the suffix array search service @response = search(peptides, equate_il).uniq + @response["equated_IL"] = equate_il # Collect all lca's to look up the lineages taxa = [] diff --git a/app/views/mpa/pept2data/pept2data.json.jbuilder b/app/views/mpa/pept2data/pept2data.json.jbuilder index 12abf2a..3e738de 100644 --- a/app/views/mpa/pept2data/pept2data.json.jbuilder +++ b/app/views/mpa/pept2data/pept2data.json.jbuilder @@ -7,3 +7,4 @@ json.peptides @response do |peptide| json.data peptide["fa"]["data"] end end +json.equated_IL @response["equated_IL"]