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

Feedback after reading tutorials #51

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

kinow
Copy link
Contributor

@kinow kinow commented Jul 24, 2021

Hello,

I learned about Janis yesterday after an e-mail sent to the AU/NZ RSE mailing list. Really interesting project, and the code is super organized, and the docs are beyond great! 👏

The tutorials appeared to be super easy to follow, and I was really impressed when the first workflow ran without errors, and quite fast too.

This pull request includes typos, re-wording, and a couple places where the directory or command was incorrect (I will add notes to this PR).

The main change, I think, is the last commit. When I was in tutorial 1, I realized my ~/janis directory now had a mix of files that I could maintain, but most of them would have to be nuked if I wanted to keep it organized. However, tutorial 1 used janis-tutorials folder, keeping the newly created files isolated from the rest in ~/janis.

So the last commit is me trying to move all the tutorial data under ~/janis/janis-tutorials. It is similar to what you have with Cylc tutorials, or Airflow tutorials I think. Users may keep the tutorial files, or simply discard them by deleting ~/janis/janis-tutorials.

If this change is not really OK, I'd be happy to remove that part 👍

Also, I found a couple places where the output or the text in the tutorial did not match with what I had in my computer, but I will look at existing issues and create new ones later if necessary.

Thanks again!
Bruno


```bash
mkdir janis-tutorials
cd janis-tutorials
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating janis-tutorials in tutorial 0. Assuming users will follow the tutorials in order (added a note to each about it, if not already there).


# If WGET is installed
wget -q -O- "https://github.com/PMCC-BioinformaticsCore/janis-workshops/raw/master/janis-data.tar" | tar -xz
wget -q -O- "https://github.com/PMCC-BioinformaticsCore/janis-workshops/raw/master/janis-data.tar" | tar -x
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the z needs to be there only if the file is gzipped. Removing it the command succeeded, although with warnings (will create an issue about the warnings).

@@ -272,33 +274,30 @@ janis translate tools/alignment.py wdl
We'll run the workflow against the current directory.

```bash
janis run -o . --engine cwltool \
janis run -o tutorial1 --engine cwltool \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the intention is to keep tutorial 1 files within the tutorial1 directory. The alternative command in this tutorial creates tutorial1-run-with-cromwell, so after this change we will have both tutorial1-run-with-cromwell and tutorial1.

@@ -280,13 +280,13 @@ Jobs:
[✓] samtoolsflagstat (N/A)

Outputs:
- stats: $HOME/janis-tutorials/tutorial2/stats.txt
- stats: $HOME/janis-tutorials/tutorial2/stats
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was no stats.txt for me, only stats? Not sure if it was supposed to be .txt, maybe a different version of the tool used, or maybe I missed a step somewhere?

@@ -33,7 +33,6 @@
modules = ["janis_assistant." + p for p in sorted(find_packages("./janis_assistant"))]


fixed_unix_version = f"janis-pipelines.unix==" + JANIS_UNIX_VERSION
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already defined up in the same code block with the same value ☝️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant