Get_fasta¶
-
NetExplorer.views.http_api.plannet.get_fasta.
get_fasta
(request)¶ View that serves FASTA files
- Accepts:
GET
- Parameters
genesymbol (str) – Identifier of entity for which to download FASTA.
database (str) – Database of genesymbol.
type (str) – Type of sequence to download (“sequence” or “orf”).
- Response:
- GET:
HttpResponse: Response with a file.
Example
curl -H "Content-Type: application/json" \ -X GET \ "https:/compgen.bio.ub.edu/PlanNET/get_fasta?genesymbol=SMESG000079934.1&database=Smesgene&type=sequence"