|
9 | 9 |
|
10 | 10 | HSP_METHODS = ['mp', 'emp_prob', 'pic', 'scp', 'subtree_average'] |
11 | 11 |
|
| 12 | +PLACEMENT_TOOLS = ['epa-ng', 'sepp'] |
| 13 | + |
12 | 14 | plugin = Plugin( |
13 | 15 | name='picrust2', |
14 | | - version="2019.10", |
| 16 | + version="2021.2", |
15 | 17 | website='https://github.com/gavinmdouglas/q2-picrust2', |
16 | 18 | package='q2_picrust2', |
17 | 19 | description=('This QIIME 2 plugin wraps the default 16S PICRUSt2 pipeline to run ' |
18 | 20 | 'metagenome inference based on marker gene data. Currently ' |
19 | 21 | 'only unstratified output is supported.'), |
20 | 22 | short_description='Predicts gene families and pathways from 16S sequences.', |
21 | | - citations=[citations['Douglas2019bioRxiv']] |
| 23 | + citations=[citations['Douglas2020NatureBiotech']] |
22 | 24 | ) |
23 | 25 |
|
24 | 26 | plugin.methods.register_function( |
|
29 | 31 |
|
30 | 32 | parameters={'threads': Int % Range(1, None), |
31 | 33 | 'hsp_method': Str % Choices(HSP_METHODS), |
| 34 | + 'placement_tool': Str % Choices(PLACEMENT_TOOLS), |
32 | 35 | 'min_align': Float % Range(0.0, 1.0), |
33 | 36 | 'max_nsti': Float % Range(0.0, None), |
| 37 | + 'edge_exponent': Float % Range(0.0, None), |
34 | 38 | 'skip_minpath': Bool, |
35 | 39 | 'no_gap_fill': Bool, |
36 | 40 | 'skip_norm': Bool, |
|
49 | 53 | parameter_descriptions={ |
50 | 54 | 'threads': 'Number of threads/processes to use during workflow.', |
51 | 55 | 'hsp_method': 'Which hidden-state prediction method to use.', |
| 56 | + 'placement_tool': ('Placement tool to use when placing sequences into ' |
| 57 | + 'reference tree. EPA-ng is the default, but SEPP ' |
| 58 | + 'is less memory intensive.'), |
52 | 59 | 'min_align': ('Proportion of the total length of an input query ' |
53 | 60 | 'sequence that must align with reference sequences. ' |
54 | 61 | 'Any sequences with lengths below this value after ' |
|
59 | 66 | 'be output.'), |
60 | 67 | 'skip_minpath': ('Do not run MinPath to identify which pathways are ' |
61 | 68 | 'present as a first pass (on by default).'), |
| 69 | + 'edge_exponent': ('Setting for maximum parisomony hidden-state ' |
| 70 | + 'prediction. Specifies weighting transition costs ' |
| 71 | + 'by the inverse length of edge lengths. If 0, then ' |
| 72 | + 'edge lengths do not influence predictions. Must be ' |
| 73 | + 'a non-negative real-valued number.'), |
62 | 74 | 'no_gap_fill': ('Do not perform gap filling before predicting ' |
63 | 75 | 'pathway abundances (gap filling is on otherwise by ' |
64 | 76 | 'default).'), |
|
83 | 95 |
|
84 | 96 | description=("QIIME 2 plugin for default 16S PICRUSt2 pipeline"), |
85 | 97 |
|
86 | | - citations=[citations['Douglas2019bioRxiv']] |
| 98 | + citations=[citations['Douglas2020NatureBiotech']] |
87 | 99 | ) |
88 | 100 |
|
89 | 101 |
|
|
96 | 108 | parameters={'threads': Int % Range(1, None), |
97 | 109 | 'hsp_method': Str % Choices(HSP_METHODS), |
98 | 110 | 'max_nsti': Float % Range(0.0, None), |
| 111 | + 'edge_exponent': Float % Range(0.0, None), |
99 | 112 | 'skip_minpath': Bool, |
100 | 113 | 'no_gap_fill': Bool, |
101 | 114 | 'skip_norm': Bool, |
|
119 | 132 | 'be output.'), |
120 | 133 | 'skip_minpath': ('Do not run MinPath to identify which pathways are ' |
121 | 134 | 'present as a first pass (on by default).'), |
| 135 | + 'edge_exponent': ('Setting for maximum parisomony hidden-state ' |
| 136 | + 'prediction. Specifies weighting transition costs ' |
| 137 | + 'by the inverse length of edge lengths. If 0, then ' |
| 138 | + 'edge lengths do not influence predictions. Must be ' |
| 139 | + 'a non-negative real-valued number.'), |
122 | 140 | 'no_gap_fill': ('Do not perform gap filling before predicting ' |
123 | 141 | 'pathway abundances (gap filling is on otherwise by ' |
124 | 142 | 'default).'), |
|
146 | 164 | "used with the output of SEPP (q2-fragment-insertion) as a " + |
147 | 165 | "starting point."), |
148 | 166 |
|
149 | | - citations=[citations['Douglas2019bioRxiv']] |
| 167 | + citations=[citations['Douglas2020NatureBiotech']] |
150 | 168 | ) |
0 commit comments