Mercurial > repos > fgiacomoni > hmdb_ms_search
comparison wsdl_hmdb.pl @ 19:f8c8a990688a draft
Master branch Updating - - Fxx
author | fgiacomoni |
---|---|
date | Wed, 23 Jan 2019 03:35:34 -0500 |
parents | 49f87ddb2c78 |
children | b5a1d5e43685 |
comparison
equal
deleted
inserted
replaced
18:ec7c05889e67 | 19:f8c8a990688a |
---|---|
157 $cluster ++ ; | 157 $cluster ++ ; |
158 } | 158 } |
159 | 159 |
160 ## Add more information of each found metabolite (1 for extra or 0 by default) | 160 ## Add more information of each found metabolite (1 for extra or 0 by default) |
161 if ($advancedFeatures > 0) { | 161 if ($advancedFeatures > 0) { |
162 | 162 |
163 ## foreach metabolite get its own metabocard | 163 ## foreach metabolite get its own metabocard |
164 $hmdb_ids = $oHmdb->get_unik_ids_from_results($results) ; | 164 $hmdb_ids = $oHmdb->get_unik_ids_from_results($results) ; |
165 | 165 |
166 print "\tComplementary annotation: asking for ".scalar(@$hmdb_ids)."metabocards\n" if ($VERBOSE>1) ; | 166 print "\tComplementary annotation: asking for ".scalar(@$results)." metabocards\n" if ($VERBOSE>1) ; |
167 | 167 |
168 # $hmdb_ids->{'HMDB03125'} = 1 , | 168 # $hmdb_ids->{'HMDB03125'} = 1 , |
169 $metabocard_features = $oHmdb->get_hmdb_metabocard_from_id($hmdb_ids, $CONF->{'HMDB_METABOCARD_URL'}) ; ## Try to multithread the querying | 169 $metabocard_features = $oHmdb->get_hmdb_metabocard_from_id($hmdb_ids, $CONF->{'HMDB_METABOCARD_URL'}) ; ## Try to multithread the querying |
170 # print Dumper $results ; | 170 # print Dumper $results ; |
171 # print Dumper $hmdb_ids ; | 171 # print Dumper $hmdb_ids ; |