Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.
/ pyRNAcentral Public archive

Python tool to interact with the public RNAcentral APIs and automatically retrieve data

License

Notifications You must be signed in to change notification settings

cumbof/pyRNAcentral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RNAcentral-data-retrieval-tool

Python tool to interact with the public RNAcentral APIs and automatically retrieve data.

It exploits the rna endpoint of the RNAcentral public APIs v1 to automatically retrieve sequences (converted to the FASTA format) and the related metadata, starting with one or a list of RNAcentral IDs.

Usage Examples

How to download the sequence and the related metadata of a single RNAcentral ID:

python rnacentral.py --id URS00005F3006

To simultaneously download a data from a list of RNAcentral IDs, switch the --id parameter with --file like below:

python rnacentral.py --fasta human_AND_rna_typelncRNA.list

The file specified under the --file parameter must contain one RNAcentral ID per line.

It is also possible to specify the path in which the generated FASTA and metadata files will be stored respectively with the parameters --fastadir and --metadir.

About

Python tool to interact with the public RNAcentral APIs and automatically retrieve data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages