-
Notifications
You must be signed in to change notification settings - Fork 27
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
Enhancing documentation for viral-pipelines #461
Changes from 22 commits
0921e34
b3307de
166749d
6df4826
99102f1
20ece88
92c76fc
5d53f4b
355555a
6d15014
492e867
6f8eae2
072763d
c59384f
0e22527
b0eca2c
661b286
f63c457
5a3ed7a
c2fe9f4
a801357
b5a19fe
d3dff3c
2daf478
8ccf287
cfbd797
e3c34b0
a44066d
8825191
de88be5
2c25808
ec81e59
b9e5cdc
b699894
2ebbebb
07df9d4
232019d
1a6a255
ef2f409
b652ad0
9e5cfcc
9366952
f1321fd
97e40d2
e88d81d
fe29c46
1482761
478b7ad
a8281e6
36f7854
0eb3b71
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.watcherExclude": { | ||
"**/target": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,24 @@ task qiime_import_from_bam { | |
} | ||
input { | ||
Array[File] reads_bam | ||
Int memory_mb = 7000 | ||
Int memory_mb = 7000 | ||
golu099 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Int cpu = 5 | ||
Int disk_size_gb = ceil(2*20) + 5 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
parameter_meta { | ||
reads_bam: {description: "Unaligned reads in BAM format, one sample per BAM file."} | ||
reads_qza: {description: "All unaligned reads in a single QZA (QIIME) file"} | ||
reads_bam: { | ||
description: "Unaligned reads in BAM format, one sample per BAM file.", | ||
category: "required" | ||
} | ||
reads_qza: { | ||
description: "All unaligned reads in a single QZA (QIIME) file.", | ||
category: "other" | ||
} | ||
samplename_master_sheet: { | ||
description: "File contains all samples names.", | ||
category: "other" | ||
} | ||
} | ||
|
||
command <<< | ||
|
@@ -69,17 +79,45 @@ task trim_reads { | |
|
||
input { | ||
File reads_qza | ||
#Boolean not_default = false | ||
String forward_adapter = "CTGCTGCCTCCCGTAGGAGT" | ||
String reverse_adapter = "AGAGTTTGATCCTGGCTCAG" | ||
Int min_length = 1 | ||
Int min_length = 1 | ||
golu099 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Boolean keep_untrimmed_reads = false | ||
Int memory_mb = 2000 | ||
Int cpu = 4 | ||
Int disk_size_gb = ceil(2*size(reads_qza, "GiB")) + 5 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
|
||
parameter_meta { | ||
reads_qza: { | ||
description: "All unaligned reads in a single QZA (QIIME) file.", | ||
cateogry: "required" | ||
} | ||
forward_adapter: { | ||
description: "Forward amplicon primer sequence.", | ||
category: "advanced" | ||
} | ||
reverse_adapter: { | ||
description: "Reverse amplicon primer sequence.", | ||
cateogry: "advanced" | ||
} | ||
min_length: { | ||
description: "Minimum length of the read, cutadapt will discard anything that is shorter than n bp AFTER trimming.Set to default.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whose default? qiime's? cutadapt's? Maybe specify the source of the default and/or its value here. Also maybe specify that it would be reads that would be discarded: "discard anything that is" -> "discard reads that are". If such reads are discarded, does that extend to both reads of a pair for paired-end sequencing, or could it toss one read and keep its mate? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After this small change, let's get this merged in. |
||
category: "other" | ||
} | ||
keep_untrimmed_reads: { | ||
description: "Allows you to choose whether or not to discard untrimmed reads.", | ||
category: "advanced" | ||
} | ||
trimmed_reads_qza: { | ||
description: "Trimmed reads data file.", | ||
category: "advanced" | ||
} | ||
trimmed_visualization: { | ||
description: "A diagram that compares your demuxed reads before and after cutting (i.e. length of reads, how many reads were retained).", | ||
category: "advanced" | ||
} | ||
} | ||
command <<< | ||
set -ex -o pipefail | ||
qiime cutadapt trim-paired \ | ||
|
@@ -124,7 +162,20 @@ task join_paired_ends { | |
Int disk_size_gb = ceil(2*size(trimmed_reads_qza, "GiB")) + 50 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
|
||
parameter_meta{ | ||
trimmed_reads_qza: { | ||
description:"Trimmed reads data file.", | ||
category: "required" | ||
} | ||
joined_end_reads_qza:{ | ||
description: "Merge paired read file.", | ||
category: "other" | ||
} | ||
joined_end_visualization: { | ||
description: "This summary is especially useful for assessing the length of linked reads and the quality scores at each sequence base position. ", | ||
category: "other" | ||
} | ||
} | ||
command <<< | ||
set -ex -o pipefail | ||
qiime vsearch join-pairs \ | ||
|
@@ -160,6 +211,32 @@ task deblur { | |
Int cpu = 1 | ||
Int disk_size_gb = ceil(2*size(joined_end_reads_qza, "GiB")) + 5 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
parameter_meta { | ||
joined_end_reads_qza: { | ||
description: "Merge paired read file.", | ||
category: "required" | ||
} | ||
trim_length_var: { | ||
description: "Length that all seqeuences will be trimmed, and discard any sequences that are not at least this long.", | ||
category: "advanced" | ||
} | ||
representative_seqs_qza: { | ||
description: "Generate a list of the representative sequences. May be useful to the user if they want to blast these sequences or check for correct trimming.", | ||
category: "other" | ||
} | ||
representative_table_qza: { | ||
description: "Generate a table of the representaitve sequences.", | ||
category: "other" | ||
} | ||
feature_table: { | ||
description: "A table that represent the number of of features per sample, the number of samples a given feature is found in.", | ||
category: "other" | ||
} | ||
visualize_stats:{ | ||
description: "Generate visualization of deblur stats.", | ||
category: "other" | ||
} | ||
} | ||
command <<< | ||
set -ex -o pipefail | ||
|
@@ -213,6 +290,37 @@ task train_classifier { | |
Int disk_size_gb = ceil(2*size(otu_ref, "GiB")) + 5 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
parameter_meta{ | ||
otu_ref: { | ||
description: "Operational taxonomic units (OTUs) sequences imported as FASTA file.", | ||
category:"required" | ||
} | ||
taxanomy_ref: { | ||
description: "Reference taxonomy file.", | ||
category: "required" | ||
} | ||
forward_adapter: { | ||
description: "The forward primer sequence for the amplicon target.", | ||
category: "advanced" | ||
} | ||
reverse_adapter: { | ||
description: "The reverse primer sequence for the amplicon target.", | ||
category:"advanced" | ||
} | ||
min_length: { | ||
description: "Minimum length of amplicon sequences.", | ||
category: "advanced" | ||
} | ||
max_length: { | ||
description: "Maximum length of amplicon sequences.", | ||
category:"advanced" | ||
} | ||
trained_classifier: { | ||
description: "Trained taxonomic classifier on target amplicon sequences.", | ||
category: "other" | ||
} | ||
} | ||
|
||
command <<< | ||
set -ex -o pipefail | ||
CONDA_ENV_NAME=$(conda info --envs -q | awk -F" " '/qiime.*/{ print $1 }') | ||
|
@@ -266,6 +374,28 @@ task tax_analysis { | |
Int disk_size_gb = 375 | ||
String docker = "quay.io/broadinstitute/qiime2" | ||
} | ||
parameter_meta{ | ||
trained_classifier: { | ||
description: "Trained taxonomic classifier on target amplicon sequences.", | ||
category: "required" | ||
} | ||
representative_seqs_qza: { | ||
description: "List of representative sequences.", | ||
category:"required" | ||
} | ||
representative_table_qza: { | ||
description: "Table of representative sequences.", | ||
category:"other" | ||
} | ||
rep_seq_list: { | ||
description: "Generate list of representative sequences.", | ||
category:"other" | ||
} | ||
tax_classification_graph: { | ||
description: "Create a bar graph of your taxonomic classification.", | ||
category:"other" | ||
} | ||
} | ||
command <<< | ||
set -ex -o pipefail | ||
qiime feature-classifier classify-sklearn \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this file from the branch and perhaps add
.vscode/
to the.gitignore
file instead?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed