:orphan: .. _blast: Nucleotide Sequence Querying with BLASTX ---------------------------------------- This tutorial shows how computational biology intermixes with Flyte. The problem statement we will be looking at is querying a nucleotide sequence against a local protein database, to identify potential homologues. This guide will show you how to: - Load the data - Instantiate a :ref:`ShellTask ` to generate and run the BLASTX search command - Load BLASTX results and plot a graph (``e_value`` vs. ``pc_identity``) `Using BLAST+ Programmatically with Biopython `__ has been used as a reference to construct the tutorial. About BLAST =========== The Basic Local Alignment Search Tool (BLAST) finds regions of local similarity between sequences. The program compares nucleotide or protein sequences to sequence databases and calculates the statistical significance of matches. BLAST can be used to infer functional and evolutionary relationships between sequences as well as help identify members of gene families. You can read more about BLAST in the `BLAST Homepage `__. BLASTX ^^^^^^ BLASTx is a powerful tool to search for genes and predict their functions or relationships with other gene sequences, and is typically used for identifying the protein‐coding genes in genomic DNA/cDNA. It is also used to detect whether a novel nucleotide sequence is a protein‐coding gene or identify proteins encoded by transcripts or transcript variants. In this tutorial, we will run a BLASTX search. Data ==== The database comprises predicted gene products from five Kitasatospora genomes. The query is a single nucleotide sequence of a predicted penicillin-binding protein from Kitasatospora sp. CB01950. To run the example, download the database from `Flytesnacks datasets `__. .. note:: To run the example locally, download BLAST first. You can find OS-specific installation instructions in the `user manual `__. This example uses BLAST 2.12.0 version. Dockerfile ========== .. literalinclude:: ../../../../../case_studies/bioinformatics/blast/Dockerfile :language: docker :emphasize-lines: 40-47 .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto/case_studies/bioinformatics/blast/images/thumb/sphx_glr_blastx_example_thumb.png :alt: BLASTX Example :ref:`sphx_glr_auto_case_studies_bioinformatics_blast_blastx_example.py` .. raw:: html
BLASTX Example
.. raw:: html
.. toctree:: :hidden: /auto/case_studies/bioinformatics/blast/blastx_example .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: blast_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: blast_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_