Sha256: ec643d291e209bc5369cecd3ebd49374d555770740255ab8968ab0ac538ee7e1
Contents?: true
Size: 208 Bytes
Versions: 9
Compression:
Stored size: 208 Bytes
Contents
#!/usr/bin/env ruby require 'faraday' ARGV.each do |arg| resp = Faraday.get("http://www.uniprot.org/uniprot/#{arg}.fasta") if resp.success? puts resp.body.lines.map(&:chomp)[1..-1].join("") end end
Version data entries
9 entries across 9 versions & 1 rubygems