Package: alphamap
AlphaMapA python-based library that enables the exploration of proteomic datasets on the peptide level.AboutAlphaMap is a tool for peptide level MS data exploration. You can load and inspect MS data analyzed byAlphaPept, DIA-NN, MaxQuant, Spectronaut or FragPipe. Uploaded data is processed and formatted for visual inspection of the sequence coverage of any selected protein and its identified post-translational modifications (PTMs). UniProt information is available to directly annotate sequence regions of interest such as protein domains, secondary structures, sequence variants, known PTMs, etc. Additionally, users can select proteases to further evaluate the distribution of proteolytic cleavage sites across a protein sequence. The functionality of AlphaMap can be accessed via an intuitive graphical user interface or - more flexibly - as a Python package that allows its integration into common analysis workflows for data visualization.LicenseAlphaMap was developed by theMann Labs at the Max Planck Institute of Biochemistryand is freely available with anApache License.InstallationAlphaMap can be installed and used on Windows and MacOS.
There are three different types of installation possible:One-click GUI installer:Choose this installation if you only want the GUI and/or keep things as simple as possible.Pip installer:Choose this installation if you want to use AlphaMap as a Python package in an existing Python 3.8 environment (e.g. a Jupyter notebook). If needed, the GUI can be installed with pip as well.Developer installer:Choose this installation if you are familiar with CLI tools,condaand Python. This installation allows access to all available features of AlphaMap and even allows to modify its source code directly.One-click GUIThe GUI of AlphaMap is a completely stand-alone tool that requires no knowledge of Python. Click on one of the links below to download the latest release for:WindowsMacOSIMPORTANT: Please refer to theGUI manualfor detailed instructions on the installation, troubleshooting and usage of the stand-alone AlphaMap GUI.IMPORTANT: The one-click-installers on macOS and Windows requireat least macOS Catalina (10.15) or higherandWindows 10respectively. For Windows, a system update might be necessary in case older versions do not work. To prevent installation errors onWindows, we recommenduninstalling the previous AlphaMap version before installing a new one.PipAlphaMap can be installed in an existing Python 3.8 environment with a singlebashcommand.Thisbashcommand can also be run directly from within a Jupyter notebook by prepending it with a!.pipinstallalphamapWhen a new version of AlphaMap becomes available, the old version can easily be upgraded by running e.g. the command again with an additional--upgradeflag:pipinstallalphamap--upgradeNOTE: When installing withpip, UniProt information is not included. Upon first usage of a specific Organism, its information will be automatically downloaded from UniProt.DeveloperAlphaMap can also be installed in editable (i.e. developer) mode with a fewbashcommands. This allows to fully customize the software and even modify the source code to your specific needs. When an editable Python package is installed, its source code is stored in a transparent location of your choice. While optional, it is advised to first (create and) navigate to e.g. a general software folder:mkdir~/folder/where/to/install/softwarecd~/folder/where/to/install/softwareNext, download the AlphaMap repository from GitHub either directly or with agitcommand. This creates a new AlphaMap subfolder in your current directory.gitclonehttps://github.com/MannLabs/alphamap.gitcdalphamapFor any Python package, it is highly recommended to use aconda virtual environment. AlphaMap can either be installed in a new conda environment or in an already existing environment.Note that dependency conflicts can occur with already existing packages in the latter case! Once a conda environment is activated, AlphaMap and all itsdependenciesneed to be installed.condacreate-nalphamappython=3.8-y
condaactivatealphamap
pipinstall-e.By using the editable flag-e, all modifications to the AlphaMapsource code folderare directly reflected when running AlphaMap. Note that the AlphaMap folder cannot be moved and/or renamed if an editable version is installed.When using Jupyter notebooks and multiple conda environments direcly from the terminal, it is recommended toconda install nb_conda_kernelsin the conda base environment. Hereafter, running ajupyter notebookfrom the conda base environment should have apython [conda env: alphamap]kernel available, in addition to all other conda kernels in which the commandconda install ipykernelwas run.Test dataAlphaMap has direct data import options for AlphaPept, DIA-NN, MaxQuant, Spectronaut and FragPipe.AlphaPeptAlphaMap takes theresults.csvfile from AlphaPept as input format. An example is available fordownload here.DIA-NNAlphaMap takes the peptide-level output .tsv file from DIA-NN as input format. An example is available fordownload here.MaxQuantAlphaMap takes theevidence.txtfile from MaxQuant as input format. A reduced example file is available fordownload here.SpectronautAlphaMap takes Spectronaut results exported in normal long format (.csv or .tsv) as input. Necessary columns include:PEP.AllOccuringProteinAccessionsEG.ModifiedSequenceR.FileNameTo ensure proper formatting of the Spectronaut output, an export scheme is available fordownload here.A reduced example file is also available fordownload here.FragPipeThere are two options to visualize data analyzed by FragPipe:Upload individual"peptide.tsv"files for single MS runs. A reduced example file is available fordownload here.Upload the"combined_peptide.tsv"file with the joint information about peptides identified in all runs (there is an option to select the experiment(s)). Be aware that the combined_peptide.tsv does not provide information about PTM localization. PTMs are therefore not shown for this option. A reduced example file is available fordownload here.UsageThere are two ways to use AlphaMap:GUI:This allows to interactively import and visualize the data.Python:This allows to access data and explore it interactively with custom code.NOTE: The first time you use a fresh installation of AlphaMap, it is often quite slow because some functions might still need compilation on your local operating system and architecture. Subsequent use should be a lot faster.GUIPlease refer to theGUI manualfor detailed instructions on the installation and usage of the stand-alone AlphaMap GUI.If the GUI was not installed through a one-click GUI installer, it can be activated with the followingbashcommand:alphamapNote that this needs to be prepended with a!when you want to run this from within a Jupyter notebook. When the command is run directly from the command-line, make sure you use the right environment (activate it with e.g.conda activate alphamapor set an alias to the binary executable).Python and Jupyter notebooksAlphaMap can be imported as a Python package into any Python script or notebook with the commandimport alphamap.A Jupyter notebook tutorial'Workflow.ipynb'is available to demonstrate how to load AlphaMap as python module and hot to visualize data interactively. When running locally it provides interactive plots, which are not rendered on GitHub.AlphaMap includes fasta files and UniProt annotations for: 'Human', 'Mouse', 'Rat', 'Cow', 'Zebrafish', 'Drosophila', 'Caenorhabditis elegans', 'Slime mold', 'Arabidopsis thaliana', 'Rice', 'Escherichia coli', 'Bacillus subtilis', 'Saccharomyces cerevisiae', 'SARS-COV' and 'SARS-COV-2'. If additional organisms are of interest, corresponding .fasta files and sequence annotations can be downloaded directly from UniProt. A Jupyter notebook tutorial'Uniprot_preprocessing.ipynb'shows how to load and format a UniProt annotation file.