# UniProt SignalP Predictions: How tobautomatically remove predicted signal equence from FASTA

**URL:** <https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83>\
**Category:** Uncategorized\
**Tags:** uniprot, fasta-manipulation, bed, text-manipulation\
**Created:** [December 3, 2018, 9:37am UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83 "2018-12-03T09:37:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![elabb\_fau](https://avatars.discourse-cdn.com/v4/letter/e/cc9497/32.png) [@elabb\_fau](https://help.galaxyproject.org/u/elabb_fau)\
**Post date:** [December 3, 2018, 9:37am UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/1 "2018-12-03T09:37:20Z")

</div>

dear community,

I was wondering if someone knows how to download the fasta sequences of proteins without their predicted signal sequence. I get the protein data from the UniProt database. At the moment I’m removing the signal sequence form my fasta sequences by hand. But I reckon there has got to be a more efficient way, right? I really appreciate your help.  
Kind regards,  
Arman

---

<div class="post-metadata">

**Author:** ![nekrut](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/nekrut/32/30_2.png) [@nekrut](https://help.galaxyproject.org/u/nekrut)\
**Post date:** [December 3, 2018, 7:48pm UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/2 "2018-12-03T19:48:05Z")

</div>

This may not be the appropriate forum for this question. This forum is related to usage of Galaxy analysis platform.

---

<div class="post-metadata">

**Author:** ![elabb\_fau](https://avatars.discourse-cdn.com/v4/letter/e/cc9497/32.png) [@elabb\_fau](https://help.galaxyproject.org/u/elabb_fau)\
**Post date:** [December 5, 2018, 10:31am UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/3 "2018-12-05T10:31:47Z")

</div>

Dear Nekrut,

I didn’t know that this wasn’t the appropriate forum. I reckoned that the Galaxy tool could perform such operations. Do you have any suggestions to where I should ask this question?

kind regard

---

<div class="post-metadata">

**Author:** ![SamGG](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/samgg/32/49_2.png) [@SamGG](https://help.galaxyproject.org/u/SamGG)\
**Post date:** [December 5, 2018, 1:00pm UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/4 "2018-12-05T13:00:53Z")

</div>

Hi Arman,  
I am a newbie also in that forum. I guess this forum is more on getting help about running Galaxy tools, interfacing tools with Galaxy and installing Galaxy. Maybe would it be OK to ask “Which tool can remove signalP from FASTA file?”, but I am unsure.  
I think you could post general questions to [biostars.org](http://biostars.org). May be this post will be interesting for you: [https://www.biostars.org/p/281716/](https://www.biostars.org/p/281716/) If you start automating some process, you have to learn a little bit of programming and Python is very useful.  
Alternatively, you could ask directly to the DB provider, ie UniProt [https://www.uniprot.org/help/](https://www.uniprot.org/help/)  
Hope this help.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [December 5, 2018, 6:11pm UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/5 "2018-12-05T18:11:27Z")

</div>

Good info!

> [@SamGG](#):
>
> Maybe would it be OK to ask “Which tool can remove signalP from FASTA file?”, but I am unsure.  
> I think you could post general questions to [biostars.org](http://biostars.org). May be this post will be interesting for you: [https://www.biostars.org/p/281716/](https://www.biostars.org/p/281716/) If you start automating some process, you have to learn a little bit of programming and Python is very useful.

There are several line-command and fasta manipulation utilities in Galaxy as wrapped tools and ways to access functions not specifically wrapped as tools.

- Search the tool panel at the Galaxy server where you are working to find tools by keyword search (sed, awk, fasta).
- Use a [Jupyter](http://jupyter.org/) notebook in Galaxy: “Visualize \> Interactive environments”

The biostars post information about extracting regions from `fasta` sequence based on coordinates in `bed` format is probably the fastest method using the tool **Extract Genomic DNA using coordinates** when working in Galaxy. The coordinates must be in strict BED format and the fasta in “custom genome” format. Once you have a successful process/tool flow designed, save it into a Workflow run the whole process in batch.

You’ll need to transform coordinates to bed and make sure the fasta is in the right format for a custom genome. The help below may mention DNA or genomes/chromosomes but the functions work with just about any bed/fasta data as long as it is formatted correctly and has the right metadata assigned (eg: datatype).

Uniprot’s [“Mature” protein annotation comments](https://www.uniprot.org/help/signal) might be filterable there or you can use basic functions in Galaxy to convert **Fasta-to-Tabular** , **Select** lines with keywords/regular expressions, and convert back **Tabular-to-Fasta**. (Alternative to bed/fasta method).

Contacting Uniprot directly as @SamGG suggests for help is the best way forward, _if you want to get these specific mature sequences directly using their tools_, which is how your original question was interpreted. Galaxy tools tend to be single-function to facilitate easier workflow design. There are some UniProt data retrieval tools in Galaxy (search tools by keyword) but I don’t think these will filter/get what you want in a single step. But you can try them out using the **[Galaxy EU](https://usegalaxy.eu)** server.

**How-to help for the above manipulations _in Galaxy_.**

> **Support FAQs**
>
> - Hub: [Galaxy Support - Galaxy Community Hub](https://galaxyproject.org/support/)
> - [Format help for Tabular/BED/Interval Datasets](https://galaxyproject.org/support/tabular/)
> - [Common datatypes explained](https://galaxyproject.org/learn/datatypes/)
> - [Preparing and using a Custom Reference Genome or Build](https://galaxyproject.org/learn/custom-genomes/)
> - [Mismatched Chromosome identifiers (and how to avoid them)](https://galaxyproject.org/support/chrom-identifiers/)

> **Galaxy Tutorials**
>
> - Hub: [Learn & Teach Galaxy - Galaxy Community Hub](https://galaxyproject.org/learn)
> - [Galaxy 101](https://galaxyproject.org/tutorials/g101) - the basic introduction to Galaxy’s interface, its functionality, and workflows. **Start here** if you never used Galaxy before.
> - [Galaxy Training Network (GTN)](https://galaxyproject.github.io/training-material/)

---

<div class="post-metadata">

**Author:** ![bjoern.gruening](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/bjoern.gruening/32/10_2.png) [@bjoern.gruening](https://help.galaxyproject.org/u/bjoern.gruening)\
**Post date:** [December 17, 2018, 10:31am UTC](https://help.galaxyproject.org/t/uniprot-signalp-predictions-how-tobautomatically-remove-predicted-signal-equence-from-fasta/83/6 "2018-12-17T10:31:44Z")

</div>

@elabb_fau you could also construct a workflow to remove those sequences I guess. At first you need to obtain the signals. You could run SignalP for that. Use this tool [https://usegalaxy.eu/root?tool\_id=toolshed.g2.bx.psu.edu/repos/peterjc/tmhmm\_and\_signalp/signalp3/0.0.19](https://usegalaxy.eu/root?tool_id=toolshed.g2.bx.psu.edu/repos/peterjc/tmhmm_and_signalp/signalp3/0.0.19) … If you know have the sequence you could do some find-and-replace on your FASTA files.
