Skip to main content

Package to download Flybase data in Python, easily and quickly.

Project description

FlyBaseDownloads

Python package to facilitate the data download from FlyBase. Most of the available data from their official wiki can be downloaded. One of the purposes of this library is to organize the data as closely as possible to the source, FlyBase. Despite not being the official package, it is organized by data class/type and provides direct downloads of the current bulk data files from the FTP site. For more information, visit the official FlyBase wiki.

Bulk data files

In order to simplify the download of FlyBase files, the names have been kept as close as possible. To access the data, follow these steps:

  1. Install the library using the pip command.

pip install FlyBaseDownloads

  1. Import the library into your file.

import FlyBaseDownloads as FBD

  1. Access the different classes of the library described below.

Synonyms

To download the file, execute the following command.

Synonyms = FBD.Synonyms.get()

The file reports current symbols and synonyms for the following objects in FlyBase: genes (FBgn), alleles (FBal), balancers (FBba), aberrations (FBab), transgenic constructs (FBtp), insertions (FBti), transcripts (FBtr), and proteins (FBpp).

Columns Description

Column heading Content Description
primary_FBid Primary FlyBase identifier for the object
organism_abbreviation Abbreviation (from the Species Abbreviations list) indicating the species of origin
current_symbol Current symbol used in FlyBase for the object
current_fullname Current full name used in FlyBase for the object
fullname_synonym(s) Non-current full name(s) associated with the object (pipe separated values)
symbol_synonym(s) Non-current symbol(s) associated with the object (pipe separated values)

Genes

To facilitate its usage, it is suggested to access the data using the following command.

Genes = FBD.Genes

Then, enter the specific method according to the desired data

Genetic interaction table

To download the file, execute the following command.

Genetic_interaction_table = Genes.Genetic_interaction_table()

RNA-Seq RPKM values

To download the file, execute the following command.

RNASeq_values = Genes.RNASeq_values()

RNA-Seq RPKM values matrix

To download the file, execute the following command.

RNASeq_values_matrix = Genes.RNASeq_values_matrix()

Single Cell RNA-Seq Gene Expression

To download the file, execute the following command.

SingleCellRNASeq_Gene_Expression = Genes.Single_Cell_RNA_Gene_Expression()

Physical interaction MITAB file

To download the file, execute the following command.

Physical_interaction_MITAB = Genes.Physical_interaction_MITAB()

Functional complementation table

To download the file, execute the following command.

Functional_complementation = Genes.Functional_complementation()

FBgn to DB Accession IDs

To download the file, execute the following command.

FBgn_toDB_Accession_IDs = Genes.FBgn_toDB_Accession_IDs()

FBgn to Annotation ID

To download the file, execute the following command.

FBgn_toAnnotation_ID = Genes.FBgn_toAnnotation_ID()

FBgn to GLEANR IDs

To download the file, execute the following command.

FBgn_toGLEANR_IDs = Genes.FBgn_toGLEANR_IDs()

FBgn to FBtr to FBpp IDs

To download the file, execute the following command.

FBgn_to_FBtr_to_FBpp = Genes.FBgn_to_FBtr_to_FBpp()

FBgn to FBtr to FBpp IDs (expanded)

To download the file, execute the following command.

FBgn_to_FBtr_to_FBpp_exp = Genes.FBgn_to_FBtr_to_FBpp_expanded()

FBgn exons to Affy1

To download the file, execute the following command.

FBgn_exons2affy1 = Genes.FBgn_exons2affy1()

FBgn exons to Affy2

To download the file, execute the following command.

FBgn_exons2affy2 = Genes.FBgn_exons2affy2()

Genes Sequence Ontology (SO) data

To download the file, execute the following command.

Genes_Sequence_Ontology = Genes.Genes_Sequence_Ontology()

Genes map table

To download the file, execute the following command.

Genes_map = Genes.Genes_map()

Best gene summaries

To download the file, execute the following command.

Best_gene_summaries = Genes.Best_gene_summaries()

Gene Snapshots

To download the file, execute the following command.

Gene_Snapshots = Genes.Gene_Snapshots()

Unique protein isoforms

To download the file, execute the following command.

Unique_protein_isoforms = Genes.Unique_protein_isoforms()

Enzyme data

To download the file, execute the following command.

Enzyme = Genes.Enzyme()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FlyBaseDownloads-1.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FlyBaseDownloads-1.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file FlyBaseDownloads-1.0.2.tar.gz.

File metadata

  • Download URL: FlyBaseDownloads-1.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for FlyBaseDownloads-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7040abb32e98e08038b4faa13fc3b4f7e04bb046c5c9a960fc737919ec90d7c0
MD5 62320f04ec0d8c3aabb69fa5fc2127c3
BLAKE2b-256 739afdcbcd6a1a64632135ef4f2241620a70b2ccac547ea5b66e4019f1187b87

See more details on using hashes here.

File details

Details for the file FlyBaseDownloads-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for FlyBaseDownloads-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cec62e30ffe885ef095ffdc30cbeda0ad68e04db99cebef5741f12426fcca196
MD5 5c179bcec38e4ada4a1ed7e2c3b83419
BLAKE2b-256 b4f6d273aebdd0a4b0dba8db000eca05bb58291e7170d45585d74a2f810d0444

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page