Deleted:ENCORI or starBase : ceRNA data retrieval using Web API and curl
0
0
Entering edit mode
9 weeks ago
V_Vibes ▴ 10

I have a list of microRNA families among which some are named in the form of "miR-10-5p". However, some microRNA family names have forward slash in them, e.g., "miR-1-3p/206". I want to use the Web API of ENCORI or starBase databse to obtain the ceRNA data for the miRNA families.

I used the following curl command in shell for retrieving the data of a microRNA families without slashes in their names:

curl 'https://rnasysu.com/encori/api/ceRNA/?assembly=hg38&geneType=mRNA&ceRNA=all&miRNAnum=2&family=miR-10-5p&pval=0.01&fdr=0.01&pancancerNum=0' >ENCORI_hg38_ceRNA-network_all.txt

This command works properly.

However for the microRNA families with slashes in their names, the following equivalent command does not work.

curl 'https://rnasysu.com/encori/api/ceRNA/?assembly=hg38&geneType=mRNA&ceRNA=all&miRNAnum=2&family=miR-1-3p/206&pval=0.01&fdr=0.01&pancancerNum=0' >ENCORI_hg38_ceRNA-network_all.txt

I tried replacing '/' with '%2F' but it still does not work.

curl 'https://rnasysu.com/encori/api/ceRNA/?assembly=hg38&geneType=mRNA&ceRNA=all&miRNAnum=2&family=miR-1-3p%2F206&pval=0.01&fdr=0.01&pancancerNum=0' >ENCORI_hg38_ceRNA-network_all.txt

How should I mention the microRNA families with slashes in their names in the curl command?

ceRNA ENCORI curl microRNA starBase • 119 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1195 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6