Skip to content

Commit

Permalink
Fixed quotes in Tutorial, also removed some redundancy in the present…
Browse files Browse the repository at this point in the history
…ations
  • Loading branch information
apca committed Nov 25, 2024
1 parent 848b371 commit 188f5c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified course_contents/IntroNextflowFundamentals.pdf
Binary file not shown.
Binary file modified course_contents/IntroNextflowFundamentals.pptx
Binary file not shown.
10 changes: 5 additions & 5 deletions course_contents/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ process sayHello {
Changing the code to write the variable (containing our grreting) in the output file:

```bash
echo '$greeting' > output.txt
echo "$greeting" > output.txt
```
### 3. Creating an input channel

Expand Down Expand Up @@ -318,7 +318,7 @@ process sayHello {
script:
"""
echo '$greeting' > '${greeting}-output.txt'
echo "$greeting" > "${greeting}-output.txt"
"""
}
```
Expand All @@ -345,7 +345,7 @@ Finally last modification to our script. Usually workflows start from a sample f
```bash
mkdir data
cd data
echo "Hello,Bonjour,Hola,Hej," > greetings.csv
echo "Hello,Bonjour,Hola,Hej" > greetings.csv
less greetings.csv
cd ..
```
Expand Down Expand Up @@ -416,7 +416,7 @@ process sayHello {
script:
"""
echo '$greeting' > '$greeting-output.txt'
echo "$greeting" > "$greeting-output.txt"
"""
}
Expand All @@ -437,7 +437,7 @@ process convertToUpper {
// now we add the bash code to convert the greeting to uppercase
script:
"""
cat '$input_file' | tr '[a-z]' '[A-Z]' > UPPER-${input_file}
cat "$input_file" | tr '[a-z]' '[A-Z]' > UPPER-${input_file}
"""
}
Expand Down

0 comments on commit 188f5c0

Please sign in to comment.