# MAF manipulation tools in Galaxy: step by step publication with an example shared history

**URL:** <https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091>\
**Category:** Resources\
**Tags:** resources, maf-manipulations\
**Created:** [May 18, 2023, 7:03pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091 "2023-05-18T19:03:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielrebib](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/danielrebib/32/4298_2.png) [@danielrebib](https://help.galaxyproject.org/u/danielrebib)\
**Post date:** [May 18, 2023, 7:03pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/1 "2023-05-18T19:03:07Z")

</div>

Hello, I am trying to provide a list of input coordinates so that I can use this tool to stitch together existing MAF blocks, but it is surprisingly complicated. I don’t understand why galaxy is insisting that the “choosing intervals” input is a file (shouldn’t it just be intervals, such as (1,6)?

I’m also not sure what to put for MAF type. Any help would be immensely appreciated, thank you!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/1/1cfdc5998c447dde9168d5c44ce74619ded60216.png)

---

<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:** [May 21, 2023, 10:23pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/2 "2023-05-21T22:23:54Z")

</div>

Welcome, @danielrebib

This publication I helped to author from 2012 covers the usage of this tool suite in great detail. It is open source. You’ll notice that the UI has been updated but the underlying logic and data formats are still the same, and the original example data is still available in a shared history. Please give that a review, as I think it will address all of your questions, but you can ask if anything is not clear.

> **[Using Galaxy to Perform Large-Scale Interactive Data Analyses](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4282168/)**
>
> Innovations in biomedical research technologies continue to provide experimental biologists with novel and increasingly large genomic and high-throughput data resources to be analyzed. As creating and obtaining data has become easier, the key...

---

<div class="post-metadata">

**Author:** ![danielrebib](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/danielrebib/32/4298_2.png) [@danielrebib](https://help.galaxyproject.org/u/danielrebib)\
**Post date:** [May 23, 2023, 5:21pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/3 "2023-05-23T17:21:37Z")

</div>

Thanks so much, Jennifer!

I actually started on attempting writing a script to stitch the blocks together before I saw your reply. I’m halfway? through, but I’ll find your link super helpful when I’ll try to benchmark my results to see if the stitching works.

---

<div class="post-metadata">

**Author:** ![danielrebib](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/danielrebib/32/4298_2.png) [@danielrebib](https://help.galaxyproject.org/u/danielrebib)\
**Post date:** [June 8, 2023, 9:11pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/4 "2023-06-08T21:11:15Z")

</div>

Hi Jennifer,

Writing an algorithm to stitch blocks together was much more difficult than I anticipated! I am considering using your tool described in your publication, but read on a discussion forum somewhere that it is only suitable for hg19, and making it work for hg38 would require significant overhaul. Would you be able to confirm that, or it using Galaxy an option for me?

Thanks 🙂

---

<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:** [June 9, 2023, 12:27am UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/5 "2023-06-09T00:27:11Z")

</div>

> [@danielrebib](#):
>
> read on a discussion forum somewhere that it is only suitable for hg19, and making it work for hg38 would require significant overhaul.

Things have changed since 2012 … These tools will work for any species (defined by a **database** metadata) that has a MAF reference provided. UCSC is a good source. Since you are working at your own server, you could index that reference MAF but it isn’t required.

Like most Galaxy tools, reference data can be supplied from the history and indexed at runtime, at the expense of longer/larger running jobs. Public servers have practical job limits, but Galaxy itself doesn’t. If a tool can be run on the command-line, it can run in Galaxy given the same resources. Galaxy is running the job on a cluster somewhere. The command-string is exposed where the job logs are located. Some servers even provide cloud costs for that exact job, and a carbon footprint is coming soon. The EU server will have more details than most since they use a unified cluster provided by an EU international consortium (easier to process those details when all clusters are the same-ish).

This is a test history with some data loading into it – query and target. [https://usegalaxy.org/u/jen-galaxyproject/h/test-maf-tools-2023](https://usegalaxy.org/u/jen-galaxyproject/h/test-maf-tools-2023)

It will have a reference MAF and a set of RefSeq coding exon coordinates. Both based on hg38’s chr22 to keep the test smaller but still representative. Once done, any of the MAF tools should technically work fine. Do you want to get a copy of it to play around in? If you run into a problem, share a history back. Makes it easier to troubleshoot with a real example 🙂

---

<div class="post-metadata">

**Author:** ![danielrebib](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/danielrebib/32/4298_2.png) [@danielrebib](https://help.galaxyproject.org/u/danielrebib)\
**Post date:** [June 13, 2023, 6:09pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/7 "2023-06-13T18:09:09Z")

</div>

Hi Jennifer,

I would love a copy of the history, thank you!  
Which information should I provide so that it could be shared with my galaxy account?

---

<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:** [June 13, 2023, 8:45pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/8 "2023-06-13T20:45:57Z")

</div>

Hi @danielrebib This is the link again. When you click on it, the option to import the history will become available.

> [@jennaj](#):
>
> This is a test history with some data loading into it – query and target. [https://usegalaxy.org/u/jen-galaxyproject/h/test-maf-tools-2023](https://usegalaxy.org/u/jen-galaxyproject/h/test-maf-tools-2023)

That copy will be your own independent version to work in at that same server. To move your history to another server, create a history archive. That will be a zip file that you can download anywhere, and has a link you can use to directly transfer it to another Galaxy server without an intermediate download step (including your own server).

To share your work back, attempting to reproduce problems at a public server tends to work best. But you can also try doing everything in the reverse.

> **[Galaxy Training: Transfer entire histories from one Galaxy server to another](https://training.galaxyproject.org/training-material/faqs/galaxy/histories_transfer_entire_histories_from_one_galaxy_server_to_another.html)**
>
> Collection of tutorials developed and maintained by the worldwide Galaxy community

---

<div class="post-metadata">

**Author:** ![danielrebib](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/danielrebib/32/4298_2.png) [@danielrebib](https://help.galaxyproject.org/u/danielrebib)\
**Post date:** [June 14, 2023, 12:15am UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/9 "2023-06-14T00:15:03Z")

</div>

Hi Jennifer,

I see, thank you. I tried copying the history, which requires me to log in. It seems my email isn’t associated with any account (which is problematic since I can see that email from the logged-in galaxy account). Another thread showed me that the issue is because I made my account using galaxy over network, which isn’t “connected” to main galaxy.

Independently, from my logged in galaxy-over-network account, it seems I can’t import any local files as data set without getting “[Errno 1] Operation not permitted:”. This is probably a different issue from the first.

By chance, are there resources you could point me towards that solves these issues? I couldn’t find any. Sorry for the endless questions…

---

<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:** [June 15, 2023, 6:44pm UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/10 "2023-06-15T18:44:19Z")

</div>

Hi @danielrebib

If you don’t have an account at [UseGalaxy.org](http://UseGalaxy.org) yet, you can create one 🙂

Accounts are server specific. One account at each public service is expected and encouraged to maximize access to all the different resources each host. 🙂 [https://training.galaxyproject.org/training-material/faqs/galaxy/#account](https://training.galaxyproject.org/training-material/faqs/galaxy/#account)

---

<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:** [April 18, 2026, 12:13am UTC](https://help.galaxyproject.org/t/maf-manipulation-tools-in-galaxy-step-by-step-publication-with-an-example-shared-history/10091/11 "2026-04-18T00:13:29Z")

</div>


