Guest User

Untitled

a guest
Dec 31st, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. import requests
  2.  
  3. url = 'http://web.expasy.org/cgi-bin/peptide_mass/peptide-mass.pl'
  4. payload = dict(
  5.     protein='P35225',
  6.     mandatory='',
  7.     reagents='nothing+%28in+reduced+form%29',
  8.     mplus='mh',
  9.     masses='monoisotopic',
  10.     enzyme='Trypsin',
  11.     MC='0',
  12.     minmass='500',
  13.     maxmass='unlimited',
  14.     order='mass',
  15.     modification='on'
  16. )
  17.  
  18. data = requests.post(url,data=payload).text
  19. print data
Advertisement
Add Comment
Please, Sign In to add comment