diff --git a/app/controllers/mpa/pept2data_controller.rb b/app/controllers/mpa/pept2data_controller.rb index c1665f6..4df3056 100644 --- a/app/controllers/mpa/pept2data_controller.rb +++ b/app/controllers/mpa/pept2data_controller.rb @@ -12,7 +12,11 @@ def pept2data # Request the suffix array search service search_results = search(peptides, @equate_il) - @response = search_results["result"] + @response = search_results["result"].map do |entry| + entry.delete("taxa") + entry.delete("uniprot_accessions") + entry + end # proteins = Set.new # search_results["result"].each do |result|