Skip to content

Commit e84b98c

Browse files
authored
first draft of the quiz
The quiz first draft could be reshulfed to a smooth logical order, and can be reviewd based on what they mostly need to remember for the project. It can have some more conceptual questions. But it is review most of the topics covered in the firsta day and fucntionalities they need to remeber!
1 parent 92936e2 commit e84b98c

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

exercises/quiz/quiz_day2.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# QUIZ: Nextflow for reproducible and automated data analysis
2+
3+
1. With what operator can you convert a queue channel to a value channel?
4+
a. `.view()`
5+
b. `.first()`
6+
c. `. collect()`
7+
d. `.mix()`
8+
9+
2. On what language is NextFlow based?
10+
a. Groovy
11+
b. Python
12+
c. Java
13+
d. R
14+
e. Perl
15+
16+
3. What is the correct process input notation for this channel entry?
17+
18+
`[sample1, /data/sample1.fq.gz]`
19+
20+
a. val(id), path(fq)
21+
b. tuple val(id), path(fq)
22+
c. tuple(val(id), path(fq))
23+
d. val(input)
24+
25+
4. What is the correct process include syntax?
26+
a. include() to 'main.nf'
27+
b. include{} from './main.nf'
28+
c. ./main.nf to {}
29+
30+
5. With what directive can you differentiate mutiple executions of the same process?
31+
32+
- Open answer in mentimeter or related
33+
34+
6. What is the correct command to download a pipeline?
35+
a. nextflow run
36+
b. nextflow config
37+
c. nextflow pull
38+
d. nextflow download
39+
40+
7. With what operator can you manipulate the channel structure
41+
a. `.map()`
42+
b. `.view()`
43+
c. `.mix()`
44+
d. `.manipulate()`
45+
46+
8. How can you acess ythe value from `--reads`?
47+
48+
`nextflow run main.nf --reads*.fq.gz`
49+
50+
a. parameters.reads
51+
b. reads
52+
c. reads_param
53+
d. params.reads
54+
55+
9. with what directive can you differentiate multiple executions of the same process
56+
57+
- open anser (`tag` should be answerd)
58+
59+
10. What nextflow command do you use to execute a file called 'main.nf'?
60+
61+
- open answer (`nextflow run main.nf` should be the answer)
62+
12. Which is the better worflow manager?
63+
a. Nextflow
64+
b. More Nextflow
65+
c. How about Nextflow
66+
d. Nextflow again
67+
e. Definetely Nextflow

0 commit comments

Comments
 (0)