Mercurial > repos > metexplore > met4j
comparison tools/networkAnalysis/ReactionDistanceMatrix/ReactionDistanceMatrix.xml @ 10:6a112eaf8f38 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 71071300dd662ad01bd064abcf6866a192eeea95
author | metexplore |
---|---|
date | Mon, 03 Feb 2025 15:59:46 +0000 |
parents | 0976a6257300 |
children | 40c15b7467f1 |
comparison
equal
deleted
inserted
replaced
9:0976a6257300 | 10:6a112eaf8f38 |
---|---|
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 <tool id="met4j_ReactionDistanceMatrix" name="ReactionDistanceMatrix" version="develop"> | 2 <tool id="met4j_ReactionDistanceMatrix" name="ReactionDistanceMatrix" version="2.0.0"> |
3 <description>Create a reaction to reaction distance matrix.</description> | 3 <description>Create a reaction to reaction distance matrix.</description> |
4 <xrefs> | 4 <xrefs> |
5 <xref type="bio.tools">met4j</xref> | 5 <xref type="bio.tools">met4j</xref> |
6 </xrefs> | 6 </xrefs> |
7 <requirements> | 7 <requirements> |
8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:develop</container> | 8 <container type="singularity">oras://registry.forgemia.inra.fr/metexplore/met4j/met4j-singularity:2.0.0</container> |
9 </requirements> | 9 </requirements> |
10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.ReactionDistanceMatrix -i "$inputPath" | 10 <command detect_errors="exit_code"><![CDATA[sh /usr/bin/met4j.sh networkAnalysis.ReactionDistanceMatrix -i "$inputPath" |
11 #if str($sideCompoundFile) != 'None': | 11 #if str($sideCompoundFile) != 'None': |
12 -sc "$sideCompoundFile" | 12 -sc "$sideCompoundFile" |
13 #end if | 13 #end if |
36 <outputs> | 36 <outputs> |
37 <data format="csv" name="outputPath"/> | 37 <data format="csv" name="outputPath"/> |
38 </outputs> | 38 </outputs> |
39 <tests> | 39 <tests> |
40 <test> | 40 <test> |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 <param name="inputPath" value="toy_model.xml"/> | 41 <param name="inputPath" value="toy_model.xml"/> |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 <output ftype="csv" name="outputPath"> | 42 <output ftype="csv" name="outputPath"> |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 <assert_contents> | 43 <assert_contents> |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | |
87 | |
88 <has_n_lines n="8"/> | 44 <has_n_lines n="8"/> |
89 | |
90 | |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | |
99 | |
100 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> | 45 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | |
108 | |
109 | |
110 | |
111 | |
112 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,Infinity,Infinity" n="1"/> | 46 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,Infinity,Infinity" n="1"/> |
113 | |
114 | |
115 | |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 | |
123 | |
124 <has_line_matching expression="reac2,Infinity,0.0,1.0,1.0,2.0,Infinity,Infinity" n="1"/> | 47 <has_line_matching expression="reac2,Infinity,0.0,1.0,1.0,2.0,Infinity,Infinity" n="1"/> |
125 | |
126 | |
127 | |
128 | |
129 | |
130 | |
131 | |
132 | |
133 | |
134 | |
135 | |
136 </assert_contents> | 48 </assert_contents> |
137 | |
138 | |
139 | |
140 | |
141 | |
142 | |
143 | |
144 | |
145 | |
146 | |
147 | |
148 </output> | 49 </output> |
149 | |
150 | |
151 | |
152 | |
153 | |
154 | |
155 | |
156 | |
157 | |
158 | |
159 | |
160 </test> | 50 </test> |
161 <test> | 51 <test> |
162 | |
163 | |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 | |
171 | |
172 | |
173 <param name="inputPath" value="toy_model.xml"/> | 52 <param name="inputPath" value="toy_model.xml"/> |
174 | |
175 | |
176 | |
177 | |
178 | |
179 | |
180 | |
181 | |
182 | |
183 | |
184 | |
185 <param name="undirected" value="true"/> | 53 <param name="undirected" value="true"/> |
186 | |
187 | |
188 | |
189 | |
190 | |
191 | |
192 | |
193 | |
194 | |
195 | |
196 | |
197 <output ftype="csv" name="outputPath"> | 54 <output ftype="csv" name="outputPath"> |
198 | |
199 | |
200 | |
201 | |
202 | |
203 | |
204 | |
205 | |
206 | |
207 | |
208 | |
209 <assert_contents> | 55 <assert_contents> |
210 | |
211 | |
212 | |
213 | |
214 | |
215 | |
216 | |
217 | |
218 | |
219 | |
220 | |
221 <has_n_lines n="8"/> | 56 <has_n_lines n="8"/> |
222 | |
223 | |
224 | |
225 | |
226 | |
227 | |
228 | |
229 | |
230 | |
231 | |
232 | |
233 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> | 57 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> |
234 | |
235 | |
236 | |
237 | |
238 | |
239 | |
240 | |
241 | |
242 | |
243 | |
244 | |
245 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,5.0,4.0" n="1"/> | 58 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,5.0,4.0" n="1"/> |
246 | |
247 | |
248 | |
249 | |
250 | |
251 | |
252 | |
253 | |
254 | |
255 | |
256 | |
257 <has_line_matching expression="reac2,1.0,0.0,1.0,1.0,2.0,4.0,3.0" n="1"/> | 59 <has_line_matching expression="reac2,1.0,0.0,1.0,1.0,2.0,4.0,3.0" n="1"/> |
258 | |
259 | |
260 | |
261 | |
262 | |
263 | |
264 | |
265 | |
266 | |
267 | |
268 | |
269 </assert_contents> | 60 </assert_contents> |
270 | |
271 | |
272 | |
273 | |
274 | |
275 | |
276 | |
277 | |
278 | |
279 | |
280 | |
281 </output> | 61 </output> |
282 | |
283 | |
284 | |
285 | |
286 | |
287 | |
288 | |
289 | |
290 | |
291 | |
292 | |
293 </test> | 62 </test> |
294 <test> | 63 <test> |
295 | |
296 | |
297 | |
298 | |
299 | |
300 | |
301 | |
302 | |
303 | |
304 | |
305 | |
306 <param name="inputPath" value="toy_model.xml"/> | 64 <param name="inputPath" value="toy_model.xml"/> |
307 | |
308 | |
309 | |
310 | |
311 | |
312 | |
313 | |
314 | |
315 | |
316 | |
317 | |
318 <param name="undirected" value="true"/> | 65 <param name="undirected" value="true"/> |
319 | |
320 | |
321 | |
322 | |
323 | |
324 | |
325 | |
326 | |
327 | |
328 | |
329 | |
330 <param name="sideCompoundFile" value="sides.txt"/> | 66 <param name="sideCompoundFile" value="sides.txt"/> |
331 | |
332 | |
333 | |
334 | |
335 | |
336 | |
337 | |
338 | |
339 | |
340 | |
341 | |
342 <output ftype="csv" name="outputPath"> | 67 <output ftype="csv" name="outputPath"> |
343 | |
344 | |
345 | |
346 | |
347 | |
348 | |
349 | |
350 | |
351 | |
352 | |
353 | |
354 <assert_contents> | 68 <assert_contents> |
355 | |
356 | |
357 | |
358 | |
359 | |
360 | |
361 | |
362 | |
363 | |
364 | |
365 | |
366 <has_n_lines n="8"/> | 69 <has_n_lines n="8"/> |
367 | |
368 | |
369 | |
370 | |
371 | |
372 | |
373 | |
374 | |
375 | |
376 | |
377 | |
378 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> | 70 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5,reac6,reac7" n="1"/> |
379 | |
380 | |
381 | |
382 | |
383 | |
384 | |
385 | |
386 | |
387 | |
388 | |
389 | |
390 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,5.0,4.0" n="1"/> | 71 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0,5.0,4.0" n="1"/> |
391 | |
392 | |
393 | |
394 | |
395 | |
396 | |
397 | |
398 | |
399 | |
400 | |
401 | |
402 <has_line_matching expression="reac2,1.0,0.0,1.0,2.0,3.0,5.0,4.0" n="1"/> | 72 <has_line_matching expression="reac2,1.0,0.0,1.0,2.0,3.0,5.0,4.0" n="1"/> |
403 | |
404 | |
405 | |
406 | |
407 | |
408 | |
409 | |
410 | |
411 | |
412 | |
413 | |
414 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0,4.0,3.0" n="1"/> | 73 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0,4.0,3.0" n="1"/> |
415 | |
416 | |
417 | |
418 | |
419 | |
420 | |
421 | |
422 | |
423 | |
424 | |
425 | |
426 <has_line_matching expression="reac4,2.0,2.0,1.0,0.0,1.0,3.0,2.0" n="1"/> | 74 <has_line_matching expression="reac4,2.0,2.0,1.0,0.0,1.0,3.0,2.0" n="1"/> |
427 | |
428 | |
429 | |
430 | |
431 | |
432 | |
433 | |
434 | |
435 | |
436 | |
437 | |
438 </assert_contents> | 75 </assert_contents> |
439 | |
440 | |
441 | |
442 | |
443 | |
444 | |
445 | |
446 | |
447 | |
448 | |
449 | |
450 </output> | 76 </output> |
451 | |
452 | |
453 | |
454 | |
455 | |
456 | |
457 | |
458 | |
459 | |
460 | |
461 | |
462 </test> | 77 </test> |
463 <test> | 78 <test> |
464 | |
465 | |
466 | |
467 | |
468 | |
469 | |
470 | |
471 | |
472 | |
473 | |
474 | |
475 <param name="inputPath" value="toy_model.xml"/> | 79 <param name="inputPath" value="toy_model.xml"/> |
476 | |
477 | |
478 | |
479 | |
480 | |
481 | |
482 | |
483 | |
484 | |
485 | |
486 | |
487 <param name="undirected" value="true"/> | 80 <param name="undirected" value="true"/> |
488 | |
489 | |
490 | |
491 | |
492 | |
493 | |
494 | |
495 | |
496 | |
497 | |
498 | |
499 <param name="rExclude" value="rexclude.txt"/> | 81 <param name="rExclude" value="rexclude.txt"/> |
500 | |
501 | |
502 | |
503 | |
504 | |
505 | |
506 | |
507 | |
508 | |
509 | |
510 | |
511 <output ftype="csv" name="outputPath"> | 82 <output ftype="csv" name="outputPath"> |
512 | |
513 | |
514 | |
515 | |
516 | |
517 | |
518 | |
519 | |
520 | |
521 | |
522 | |
523 <assert_contents> | 83 <assert_contents> |
524 | |
525 | |
526 | |
527 | |
528 | |
529 | |
530 | |
531 | |
532 | |
533 | |
534 | |
535 <has_n_lines n="6"/> | 84 <has_n_lines n="6"/> |
536 | |
537 | |
538 | |
539 | |
540 | |
541 | |
542 | |
543 | |
544 | |
545 | |
546 | |
547 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> | 85 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> |
548 | |
549 | |
550 | |
551 | |
552 | |
553 | |
554 | |
555 | |
556 | |
557 | |
558 | |
559 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> | 86 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> |
560 | |
561 | |
562 | |
563 | |
564 | |
565 | |
566 | |
567 | |
568 | |
569 | |
570 | |
571 <has_line_matching expression="reac2,1.0,0.0,1.0,1.0,2.0" n="1"/> | 87 <has_line_matching expression="reac2,1.0,0.0,1.0,1.0,2.0" n="1"/> |
572 | |
573 | |
574 | |
575 | |
576 | |
577 | |
578 | |
579 | |
580 | |
581 | |
582 | |
583 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0" n="1"/> | 88 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0" n="1"/> |
584 | |
585 | |
586 | |
587 | |
588 | |
589 | |
590 | |
591 | |
592 | |
593 | |
594 | |
595 <has_line_matching expression="reac4,2.0,1.0,1.0,0.0,1.0" n="1"/> | 89 <has_line_matching expression="reac4,2.0,1.0,1.0,0.0,1.0" n="1"/> |
596 | |
597 | |
598 | |
599 | |
600 | |
601 | |
602 | |
603 | |
604 | |
605 | |
606 | |
607 <has_line_matching expression="reac5,3.0,2.0,2.0,1.0,0.0" n="1"/> | 90 <has_line_matching expression="reac5,3.0,2.0,2.0,1.0,0.0" n="1"/> |
608 | |
609 | |
610 | |
611 | |
612 | |
613 | |
614 | |
615 | |
616 | |
617 | |
618 | |
619 </assert_contents> | 91 </assert_contents> |
620 | |
621 | |
622 | |
623 | |
624 | |
625 | |
626 | |
627 | |
628 | |
629 | |
630 | |
631 </output> | 92 </output> |
632 | |
633 | |
634 | |
635 | |
636 | |
637 | |
638 | |
639 | |
640 | |
641 | |
642 | |
643 </test> | 93 </test> |
644 <test> | 94 <test> |
645 | |
646 | |
647 | |
648 | |
649 | |
650 | |
651 | |
652 | |
653 | |
654 | |
655 | |
656 <param name="inputPath" value="toy_model.xml"/> | 95 <param name="inputPath" value="toy_model.xml"/> |
657 | |
658 | |
659 | |
660 | |
661 | |
662 | |
663 | |
664 | |
665 | |
666 | |
667 | |
668 <param name="undirected" value="true"/> | 96 <param name="undirected" value="true"/> |
669 | |
670 | |
671 | |
672 | |
673 | |
674 | |
675 | |
676 | |
677 | |
678 | |
679 | |
680 <param name="sideCompoundFile" value="sides.txt"/> | 97 <param name="sideCompoundFile" value="sides.txt"/> |
681 | |
682 | |
683 | |
684 | |
685 | |
686 | |
687 | |
688 | |
689 | |
690 | |
691 | |
692 <param name="rExclude" value="rexclude.txt"/> | 98 <param name="rExclude" value="rexclude.txt"/> |
693 | |
694 | |
695 | |
696 | |
697 | |
698 | |
699 | |
700 | |
701 | |
702 | |
703 | |
704 <output ftype="csv" name="outputPath"> | 99 <output ftype="csv" name="outputPath"> |
705 | |
706 | |
707 | |
708 | |
709 | |
710 | |
711 | |
712 | |
713 | |
714 | |
715 | |
716 <assert_contents> | 100 <assert_contents> |
717 | |
718 | |
719 | |
720 | |
721 | |
722 | |
723 | |
724 | |
725 | |
726 | |
727 | |
728 <has_n_lines n="6"/> | 101 <has_n_lines n="6"/> |
729 | |
730 | |
731 | |
732 | |
733 | |
734 | |
735 | |
736 | |
737 | |
738 | |
739 | |
740 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> | 102 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> |
741 | |
742 | |
743 | |
744 | |
745 | |
746 | |
747 | |
748 | |
749 | |
750 | |
751 | |
752 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> | 103 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> |
753 | |
754 | |
755 | |
756 | |
757 | |
758 | |
759 | |
760 | |
761 | |
762 | |
763 | |
764 <has_line_matching expression="reac2,1.0,0.0,1.0,2.0,3.0" n="1"/> | 104 <has_line_matching expression="reac2,1.0,0.0,1.0,2.0,3.0" n="1"/> |
765 | |
766 | |
767 | |
768 | |
769 | |
770 | |
771 | |
772 | |
773 | |
774 | |
775 | |
776 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0" n="1"/> | 105 <has_line_matching expression="reac3,1.0,1.0,0.0,1.0,2.0" n="1"/> |
777 | |
778 | |
779 | |
780 | |
781 | |
782 | |
783 | |
784 | |
785 | |
786 | |
787 | |
788 <has_line_matching expression="reac4,2.0,2.0,1.0,0.0,1.0" n="1"/> | 106 <has_line_matching expression="reac4,2.0,2.0,1.0,0.0,1.0" n="1"/> |
789 | |
790 | |
791 | |
792 | |
793 | |
794 | |
795 | |
796 | |
797 | |
798 | |
799 | |
800 <has_line_matching expression="reac5,3.0,3.0,2.0,1.0,0.0" n="1"/> | 107 <has_line_matching expression="reac5,3.0,3.0,2.0,1.0,0.0" n="1"/> |
801 | |
802 | |
803 | |
804 | |
805 | |
806 | |
807 | |
808 | |
809 | |
810 | |
811 | |
812 </assert_contents> | 108 </assert_contents> |
813 | |
814 | |
815 | |
816 | |
817 | |
818 | |
819 | |
820 | |
821 | |
822 | |
823 | |
824 </output> | 109 </output> |
825 | |
826 | |
827 | |
828 | |
829 | |
830 | |
831 | |
832 | |
833 | |
834 | |
835 | |
836 </test> | 110 </test> |
837 <test> | 111 <test> |
838 | |
839 | |
840 | |
841 | |
842 | |
843 | |
844 | |
845 | |
846 | |
847 | |
848 | |
849 <param name="inputPath" value="toy_model.xml"/> | 112 <param name="inputPath" value="toy_model.xml"/> |
850 | |
851 | |
852 | |
853 | |
854 | |
855 | |
856 | |
857 | |
858 | |
859 | |
860 | |
861 <param name="sideCompoundFile" value="sides.txt"/> | 113 <param name="sideCompoundFile" value="sides.txt"/> |
862 | |
863 | |
864 | |
865 | |
866 | |
867 | |
868 | |
869 | |
870 | |
871 | |
872 | |
873 <param name="rExclude" value="rexclude.txt"/> | 114 <param name="rExclude" value="rexclude.txt"/> |
874 | |
875 | |
876 | |
877 | |
878 | |
879 | |
880 | |
881 | |
882 | |
883 | |
884 | |
885 <output ftype="csv" name="outputPath"> | 115 <output ftype="csv" name="outputPath"> |
886 | |
887 | |
888 | |
889 | |
890 | |
891 | |
892 | |
893 | |
894 | |
895 | |
896 | |
897 <assert_contents> | 116 <assert_contents> |
898 | |
899 | |
900 | |
901 | |
902 | |
903 | |
904 | |
905 | |
906 | |
907 | |
908 | |
909 <has_n_lines n="6"/> | 117 <has_n_lines n="6"/> |
910 | |
911 | |
912 | |
913 | |
914 | |
915 | |
916 | |
917 | |
918 | |
919 | |
920 | |
921 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> | 118 <has_line_matching expression="id,reac1,reac2,reac3,reac4,reac5" n="1"/> |
922 | |
923 | |
924 | |
925 | |
926 | |
927 | |
928 | |
929 | |
930 | |
931 | |
932 | |
933 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> | 119 <has_line_matching expression="reac1,0.0,1.0,1.0,2.0,3.0" n="1"/> |
934 | |
935 | |
936 | |
937 | |
938 | |
939 | |
940 | |
941 | |
942 | |
943 | |
944 | |
945 <has_line_matching expression="reac2,Infinity,0.0,1.0,2.0,3.0" n="1"/> | 120 <has_line_matching expression="reac2,Infinity,0.0,1.0,2.0,3.0" n="1"/> |
946 | |
947 | |
948 | |
949 | |
950 | |
951 | |
952 | |
953 | |
954 | |
955 | |
956 | |
957 <has_line_matching expression="reac3,Infinity,Infinity,0.0,1.0,2.0" n="1"/> | 121 <has_line_matching expression="reac3,Infinity,Infinity,0.0,1.0,2.0" n="1"/> |
958 | |
959 | |
960 | |
961 | |
962 | |
963 | |
964 | |
965 | |
966 | |
967 | |
968 | |
969 <has_line_matching expression="reac4,Infinity,Infinity,Infinity,0.0,1.0" n="1"/> | 122 <has_line_matching expression="reac4,Infinity,Infinity,Infinity,0.0,1.0" n="1"/> |
970 | |
971 | |
972 | |
973 | |
974 | |
975 | |
976 | |
977 | |
978 | |
979 | |
980 | |
981 <has_line_matching expression="reac5,Infinity,Infinity,Infinity,Infinity,0.0" n="1"/> | 123 <has_line_matching expression="reac5,Infinity,Infinity,Infinity,Infinity,0.0" n="1"/> |
982 | |
983 | |
984 | |
985 | |
986 | |
987 | |
988 | |
989 | |
990 | |
991 | |
992 | |
993 </assert_contents> | 124 </assert_contents> |
994 | |
995 | |
996 | |
997 | |
998 | |
999 | |
1000 | |
1001 | |
1002 | |
1003 | |
1004 | |
1005 </output> | 125 </output> |
1006 | |
1007 | |
1008 | |
1009 | |
1010 | |
1011 | |
1012 | |
1013 | |
1014 | |
1015 | |
1016 | |
1017 </test> | 126 </test> |
1018 </tests> | 127 </tests> |
1019 <help><![CDATA[Create a reaction to reaction distance matrix. | 128 <help><![CDATA[Create a reaction to reaction distance matrix. |
1020 The distance between two reactions is computed as the length of the shortest path connecting the two in the reaction graph, where two reactions are linked if they produce a metabolite consumed by the other or the other way around. | 129 The distance between two reactions is computed as the length of the shortest path connecting the two in the reaction graph, where two reactions are linked if they produce a metabolite consumed by the other or the other way around. |
1021 An optional edge weighting can be used, turning the distances into the sum of edge weights in the lightest path, rather than the length of the shortest path.The default weighting use target's degree squared. Alternatively, custom weighting can be provided in a file. In that case, edges without weight are ignored during path search. | 130 An optional edge weighting can be used, turning the distances into the sum of edge weights in the lightest path, rather than the length of the shortest path.The default weighting use target's degree squared. Alternatively, custom weighting can be provided in a file. In that case, edges without weight are ignored during path search. |