Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dadrasarmin updated galaxy intro peaks2genes tutorial #5733

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion faqs/galaxy/datasets_import_from_data_library.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contributors: [bebatut,shiltemann,nsoranzo,hexylena,wm75]

As an alternative to uploading the data from a URL or your computer, the files may also have been made available from a *shared data library*:

1. Go into **Data** (top panel) and then **Data libraries**
1. Go into **Libraries** (left panel)
2. Navigate to {% if include.path %}: *{{ include.path }}* or {% endif %} the correct folder as indicated by your instructor.
{% unless include.path %}- On most Galaxies tutorial data will be provided in a folder named **GTN - Material --> Topic Name -> Tutorial Name**. {% endunless %}
3. Select the desired files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ contributions:
- hexylena
editing:
- teresa-m
- dadrasarmin
funding:
- elixir-europe
- deNBI
Expand Down Expand Up @@ -525,7 +526,7 @@ Galaxy makes this very simple with the `Extract workflow` option. This means tha
>
> You will get a message that the workflow was created. But where did it go?
>
> 6. Click on **Workflow** in the top menu of Galaxy
> 6. Click on **Workflow** in the left menu of Galaxy
>
> Here you have a list of all your workflows
>
Expand All @@ -543,10 +544,9 @@ Galaxy makes this very simple with the `Extract workflow` option. This means tha
>
> 8. Connect each input dataset to the **Intersect** {% icon tool %} tool by dragging the arrow pointing outwards on the right of its box (which denotes an output) to an arrow on the left of the **Intersect** box pointing inwards (which denotes an input)
> 9. Rename the input datasets to `Reference regions` and `Peak regions`
> 10. Click on the {% icon galaxy-gear %} (gear) icon at the top right
> 11. Press **Auto Re-layout** to clean up our view
> 10. Press **Auto Re-layout** to clean up our view
> ![Auto re-layouting](../../images/intro_07.png)
> 12. Click on the {% icon galaxy-save %} **Save** icon (top-right) to save your changes
> 11. Click on the {% icon galaxy-save %} **Save** icon (top) to save your changes
> ![Save workflow button]({% link topics/contributing/images/save_workflow.png %}){: width="50%"}
>
> > <tip-title>Hiding intermediate steps</tip-title>
Expand Down Expand Up @@ -575,12 +575,12 @@ We again need our peak file, but we'd like to work in a clean history. Instead o
>
> {% snippet faqs/galaxy/histories_create_new.md %}
>
> 2. Click on the **View all histories** ({% icon galaxy-columns %} icon) at the top right of your history
> 2. Click on the **History options** at the top right of your history. Click on the **Show Histories Side-by-Side**
>
> You should see both of your histories side-by-side now
>
> 3. Drag and drop the edited peak file (`Peak regions`, after the replace steps), which contains the summit information, to your new history.
> 4. Click on the Home icon {% icon galaxy-home %} (or **Analyze Data** on older Galaxy versions) in the top menu bar to go back to your analysis window
> 4. Click on the Galaxy name in the top menu bar (top left) to go back to your analysis window
>
{: .hands_on}

Expand Down Expand Up @@ -644,7 +644,7 @@ The RefSeq genes we downloaded from UCSC did only contain the RefSeq identifiers
>
> {% snippet faqs/galaxy/datasets_import_via_link.md genome="mm9" %}
>
> {% snippet faqs/galaxy/datasets_import_from_data_library.md path='Click on "Training data" and then "Introduction - From peaks to genes"' %}
> {% snippet faqs/galaxy/datasets_import_from_data_library.md path='Click on "GTN - Material", "Introduction to Galaxy Analyses", "From peaks to genes", and then "DOI: 10.5281/zenodo.1025586"' %}
>
> As default, Galaxy takes the link as name, so rename them.
>
Expand All @@ -662,7 +662,7 @@ The RefSeq genes we downloaded from UCSC did only contain the RefSeq identifiers
It's time to reuse the workflow we created earlier.

> <hands-on-title>Run a workflow</hands-on-title>
> 1. Open the workflow menu (top menu bar)
> 1. Open the workflow menu (left menu bar)
> 2. Find the workflow you made in the previous section, and select the option **Run**
> 3. Choose as inputs our `mm9.RefSeq_genes` (`#genes`) BED file and the result of the **Cut** tool (`#peaks`)
> 4. Click **Run workflow**
Expand All @@ -675,7 +675,7 @@ We used our workflow to rerun our analysis with the peak summits. The **Group**
But wouldn't it be more interesting to know the number of peaks in each unique gene? Let's rerun the workflow with different settings!

> <hands-on-title>Run a workflow with changed settings</hands-on-title>
> 1. Open the workflow menu (top menu bar)
> 1. Open the workflow menu (left menu bar)
> 2. Find the workflow you made in the previous section, and select the option **Run**
> 3. Choose as inputs our `mm9.RefSeq_genes` (`#genes`) BED file and the result of the **Cut** tool (`#peaks`)
> 4. Click on the title of the {% icon tool %} **Group** tool to expand the options.
Expand Down