SkillAgentSearch skills...

PhosMap

An Ensemble Bioinformatic Platform to Empower Interactive Analysis of Quantitative Phosphoproteomics.

Install / Use

/learn @liuzan-info/PhosMap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <img src="www/logo.svg" width="200"/> <div>&nbsp;</div> <b>An Ensemble Bioinformatic Platform to Empower Interactive Analysis of Quantitative Phosphoproteomics.</b> <div>&nbsp;</div>

Docker Image CI <img src="https://img.shields.io/github/license/liuzan-info/PhosMap">

R | Web | Docker

📘Doc for R package 📙Doc for Web server and Local UI

<a href="https://youtu.be/2ZlMqMJjNU8" style="text-decoration:none;"> <img src="https://user-images.githubusercontent.com/25839884/218346691-ceb2116a-465a-40af-8424-9f30d2348ca9.png" width="3%" alt="" /></a> <img src="https://user-images.githubusercontent.com/25839884/218346358-56cc8e2f-a2b8-487f-9088-32480cceabcf.png" width="3%" alt="" /> <a href="https://www.bilibili.com/video/BV1tj411z7Fe/" style="text-decoration:none;"> <img src="https://user-images.githubusercontent.com/25839884/219026751-d7d14cce-a7c9-4e82-9942-8375fca65b99.png" width="3%" alt="" /></a> <img src="https://user-images.githubusercontent.com/25839884/218346358-56cc8e2f-a2b8-487f-9088-32480cceabcf.png" width="3%" alt="" /> </div>

<b>Table of Contents</b>

<p id="brief-description"></p>

Brief Description

PhosMap emerges as an all-encompassing bioinformatic framework meticulously architected to bestow researchers with a harmonious and interactive data analysis experience within the domain of MS-based phosphoproteomics.

PhosMap is capable to handle both label-free and label-based phosphoproteomics. Moreover, PhosMap supports both the DDA- or DIA-MS phosphoproteomics data preprocessed by various types of commonly used softwares, including MaxQuant, Firmiana, Spectronaut and DIA-NN.

Serving as a versatile and user-friendly platform, PhosMap extends its prowess through a trifecta of deployment options: a web server, a local graphical interface, and an R package. For users without bioinformatics skills, the web server is suitable for analyzing small data volumes. When dealing with larger data volumes, it is recommended to utilize the local graphical interface of PhosMap. Meanwhile, for users with programming skills, the locally installed graphical interface allows for convenient customization and expansion. Moreover, the PhosMap R package offers a highly flexible platform for advanced analysis.

The PhosMap web server can be accessed at the following URL: https://huggingface.co/spaces/Bio-Add/PhosMap.

<div align="center"> <img src="www/main.svg" width = 70%> </div> <p id="how-to-install"></p>

How to install

To fully unleash the potential of PhosMap, we recommend users to utilize the local version. There are two different ways to launch PhosMap:

<p id="installdocker"></p>

1. Docker-based installation

We provide a docker image with PhosMap: https://hub.docker.com/r/liuzandh/phosmap

Pull the docker image of PhosMap:

docker pull liuzandh/phosmap:1.0.0

Create a docker container containing PhosMap:

docker run  -p HostPort:3838 liuzandh/phosmap:1.0.0

Then, you can enter PhosMap by visiting HostIP:HostPort.

For example: HostPort could be set to 8083. This parameter can be changed according to user needs. such as,

docker run -p 8083:3838 liuzandh/phosmap:1.0.0

Next, open 127.0.0.1:8083 in the local browser or remotely access ip:8083 (you should ensure that the machine can be accessed remotely).

<p id="installr"></p>

2. R-based installation

This tool is developed with R, so if you want to run it locally, you may do some preparatory work:

  • [1] Install R. You can download R from here: https://www.r-project.org/.

  • [2] Install RStudio. You can download RStudio from here: https://www.rstudio.com/.

  • [3] Download the source code from github.

  • [4] Download the necessary data. <img src="www/unzip.jpg" width=18% align="right"> Please download "PhosMap_datasets.zip" from https://github.com/liuzan-info/PhosMap_datasets. Using 'git clone' is recommended. If you are not familiar with Git or experience network issues, you may download from <a href="https://pan.baidu.com/s/1o3CVRjvCIHnqfY0Bh9X-qw?pwd=7d2k" target="_blank">here</a> instead. Then unzip this file to phosmap folder like this pic.

  • [5] Check packages. After installing R and RStudio, you should check whether you have installed these packages ("shiny","shinyjs","shinyBS","shinyWidgets","ggplot2","ggrepel","plotly","colourpicker","ggseqlogo","pheatmap","survminer","survival","zip","stringr","readr","dplyr","DT","png","svglite","ggplotify","bslib","ksea","rmotifx","PhosMap","qpdf","pcaMethods","impute","rrcovNA","e1071","heatmaply").

    You can run the codes below to install them:

    if (!require("BiocManager", quietly = TRUE)){install.packages("BiocManager")}
    
    BiocManager::install(c("pcaMethods", "impute"))
    
    install.packages(c("FactoMineR","factoextra","data.table","tidyr","shiny","shinyjs","shinyBS","shinyWidgets","ggplot2","ggrepel","plotly", "colourpicker","ggseqlogo","pheatmap","survminer","survival","zip","stringr","dplyr","DT","png", "svglite","ggplotify","bslib","qpdf", "rrcovNA", "e1071", "heatmaply", "ggdendro))
    
    install.packages('devtools')
    require(devtools)
    
    install_github('evocellnet/ksea')
    install_github('ecnuzdd/PhosMap')
    
    remove.packages('Matrix')
    install_version('Matrix', version='1.5-3')
    
  • [6] click "Run App". View the file ui.R, then just click button "Run App", Phosmap will start.

<p id="how-to-use"></p>

How to use

You can find comprehensive documentation and an in-depth video tutorial on this website. https://github.com/liuzan-info/PhosMap

<p id="rpackage"></p>

How to extend

Due to its clear design and reliance solely on the R language, PhosMap allows for easy customization of user-defined features. Basic knowledge of R is sufficient, without the need to understand the shiny framework. We provide a step-by-step tutorial available here.

  1. Follow the instructions in How to install --> R-based installation for installation. Additionally, install the packages required for your customized functionalities.
  2. Open the ui.R file inside the PhosMap folder and search for the term 'Customization.' You will then see a template with detailed annotations. You only need to selectively modify the lines with annotations according to the instructions. These codes determine the display of the graphical interface.
    # If you want to expand the software's functionality, 
    # please uncomment the code below. 
    # Tip: You can use the Ctrl+Shift+C shortcut to uncomment or comment the selectedcode.
    tabPanel(
      "Customization",
      h2("User-defined Tool", class = "tooltitle"),
      h4("This module is designed for implementing user-defined functionalities. 
         If you have any questions, please submit an issue on Github.", class = "toolsubtitle"),
      fluidRow(
        column(
          4,
          panel(
            "",
            heading = "Parameters Setting",
            numericInput(
              inputId = "user_num1",  # id to be used in server.R, must be unique, is not recommended to change.
              label = "user_num1",  # label to show that can be changed.
              value = 1,  # default number that can be changed.
            ),
            numericInput(
              inputId = "user_num2",  # id to be used in server.R, must be unique, is not recommended to change.
              label = "user_num2",  # label to show that can be changed.
              value = 1,  # default number that can be changed.
            ),
            actionButton(
              inputId = "user_button",  # id to be used in server.R, must be unique, is not recommended to change.
              label = "Run", # label to show that can be changed.
            )
          )
        ),
        column(
          8,
          h4("Result--Table:"),  # instruction, not recommended to change.
          dataTableOutput(
            outputId = "user_table",  # id to be used in server.R, must be unique, is not recommended to change.
          ),
          h4("Result--Plot:"),  # instruction, not recommended to change.
          plotOutput(
            outputId = "user_plot",  # id to be used in server.R, must be unique, is not recommended to change.
          )
        )
      )
    )
    
  3. Open the server.R file inside the PhosMap folder and search for the term 'Customization.' You will then see a template with detailed annotations. We demonstrate the data retrieval and utilization, along with the computational core code that you can modify as desired, and how to ultimately display data frames and images in the UI interface. These codes determine how the calculations are performed.
    # If you want to expand the software's functionality, 
    # please uncomment the code below. 
    # Tip: You can use the Ctrl+Shift+C sh
    
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated11mo ago
Forks5

Languages

R

Security Score

82/100

Audited on May 7, 2025

No findings