{"id":20822654,"url":"https://github.com/moongoal/www-uniprot","last_synced_at":"2026-04-20T18:31:51.653Z","repository":{"id":33251274,"uuid":"36895666","full_name":"moongoal/www-uniprot","owner":"moongoal","description":"WWW::UniProt perl module for UniProt search and data retrieval","archived":false,"fork":false,"pushed_at":"2015-06-12T08:27:38.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T06:41:43.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moongoal.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-04T21:11:08.000Z","updated_at":"2015-06-04T21:13:27.000Z","dependencies_parsed_at":"2022-08-17T23:20:32.934Z","dependency_job_id":null,"html_url":"https://github.com/moongoal/www-uniprot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/moongoal/www-uniprot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moongoal%2Fwww-uniprot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moongoal%2Fwww-uniprot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moongoal%2Fwww-uniprot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moongoal%2Fwww-uniprot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moongoal","download_url":"https://codeload.github.com/moongoal/www-uniprot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moongoal%2Fwww-uniprot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32059736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T22:15:41.156Z","updated_at":"2026-04-20T18:31:51.635Z","avatar_url":"https://github.com/moongoal.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nWWW::UniProt - UniProt search and data retrieval module\n\n# SYNOPSIS\n\n    use WWW::UniProt;\n    $fasta = WWW::UniProt::prot_data 'Q8JJY4'; # Grab FASTA\n\n# DESCRIPTION\n\nThis module allows programmatic access the UniProt database.\nCurrently two subroutines are available:\n\n## prot\\_data($protname)\n\n## prot\\_data($protname, \\\\%opts)\n\nThis subroutine retrieves information about a protein from the UniProt\ndatabase. It accepts one mandatory argument `$query` and one optional\n`\\%opts`. The `$protname` argument is a string representing the code of the\nprotein about which you want to retrieve information from UniProt (i.e.\n'Q8JJY4'). The `\\%opts` argument is an optional reference to a hash of\noptional arguments.\n\n### Optional arguments\n\n- dataset\n\n    A string representing the database to search (i.e. 'uniprot', 'uniref',\n    'uniparc'; defaults to 'uniprot')\n\n- format\n\n    A string representing the format of the data to retrieve (i.e. 'fasta', 'xml',\n    'rdf', etc...; defaults to 'fasta')\n\n- include\n\n    A boolean value representing whether referenced datasets should be included\n    inside the RDF/XML files (defaults to 0)\n\n### Return value\n\nThis subroutine returns a string representing the data as returned by UniProt\nor `undef` if the data could not be retrieved.\n\n## search($query)\n\n## search($query, \\\\%otps)\n\nThis subroutine performs a search on UniProt. It accepts one mandatory argument\n`$query` and one optional `\\%opts`. The `$query` argument is a query string\nthat will be used to search UniProt (i.e. 'myosin', 'amoeba', etc...). The\n`\\%opts` argument is an optional reference to a hash of optional arguments.\n\n### Optional arguments\n\n- limit\n\n    An integer representing the max number of entries to retrieve\n\n- offset\n\n    An integer representing the number of entries to skip\n\n- columns\n\n    An array reference representing the columns to retrieve\n\n- \\*\n\n    Any other value will be inserted as is in the url in the form KEY=VALUE\n\nFor a list of all the UniProt query options, refer to\n[http://www.uniprot.org/help/programmatic\\_access](http://www.uniprot.org/help/programmatic_access).\n\n### Return value\n\nThis subroutine returns an array of records returned by the performed search or\n`undef` if the request could not be satisfied. Each element is a hash\nreference in which each key is the name of one of the requested columns and\neach value is the value of that column for that record.\n\n# CONNECTION SETTINGS\n\nAs this module uses **LWP** to connect to UniProt, please refer to its\ndocumentation for information about connection settings.\n\n# EXAMPLES\n\n    # This example prints the 'ID' and 'protein names' field of the proteins\n    # retrieved from UniProt, searching 'russula'.\n\n    use WWW::UniProt;\n\n    @result = WWW::UniProt::search 'russula', {columns =\u003e ['id', 'protein names']};\n\n    print \"ID: ${$_}{'id'}, Protein names: ${$_}{'protein names'}\\n\" for (@result);\n\n# AUTHOR\n\nAlfredo Mungo \u003calqafir@cpan.org\u003e\n\n# LICENSE\n\nThis library is free software; you may redistribute it and/or modify it under\nthe same terms as Perl itself.\n\n# SEE ALSO\n\n[LWP](https://metacpan.org/pod/LWP)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoongoal%2Fwww-uniprot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoongoal%2Fwww-uniprot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoongoal%2Fwww-uniprot/lists"}