I'm not sure if it's directly related to programming, but I'd like to ask you a question.
I'd like to use a software called mfinder created by UriAlon (http://www.weizmann.ac.il/mcb/UriAlon/download/network-motif-software) to analyze directed networks, but it doesn't work.
Environment: Windows 7 64-bit
According to the manual, we did the following:
-
Download, extract, and save mfinder1.21.zip directly below c
Move to the directory where mfinder1.2.exe is located at the command prompt (check with the dir command)
Command "mfinder network_exmp.txt" execution → failure
Command "mfinder1.2network_exmp.txt" execution → failure
Command "mfinder1.2.exe network_exmp.txt" execution → failure
-
All "mfinder 1.2 is not recognized as an internal or external command manipulative program or batch file".
I'm not sure if it's a proper question due to lack of knowledge, but please help me.Thank you for your cooperation.
windows
I downloaded and tried mfinder 1.2.zip (although it says 1.21 on the site).
The folder mfinder1.2
was compressed, so I expanded it to R:\
.This means that R:\mfinder1.2\mfinder1.2.exe
exists.
R:\>cd mfinder 1.2
R:\mfinder 1.2>dir
(omitted)
July 8, 2015 14:49 <DIR>.
July 8, 2015 14:49 <DIR>..
August 29, 2005 11:08 1,622mfinder 1.2.exe
August 24, 2005 16:16866,710mfinderManual.pdf
October 22, 2002 16:5791, 190 motifDictionary.pdf
October 13, 2003 13:55 157 network_exmp.txt
October 13, 2003 14:08 1,861 output_exmp.txt
August 24, 2005 16:194,480 README.txt
(omitted)
R:\mfinder1.2>mfinder1.2network_exmp.txt
mfinder Version 1.20
(omitted)
As an operational program or batch file, ~
appears when the file is not found, so please check again to see if the directory has been moved correctly or if you typed the wrong file name.
Also, if the directory moves correctly, I think m
will be complemented by entering only the first character m
and pressing the Tab key.
mfinder1.2network_exmp.txt
If you want to run without being aware of the current hierarchy, you should set the environment variables.
After that, I think it's a bit of a snag, but I'll write it down just in case.
How to Set Environment Variables
Start - > Control Panel - > System - > Advanced System Settings - > Environment Variables
Add Path to User Environment Variable or System Environment Variable
自分 User environment variable
Personally, I prefer to create new variables like this.
·Add variables
New ->Variable name mfinder 1.2 path to variable value mfinder 1.2 (up to folder with .exe)
·Add to Path
Select "Path" to "Edit" (or "New") - > Add Created Variable (%mfinder 1.2%) OK - > OK
! Separate Path variable values with ;; 」 if any other paths are written in them
If you restart the command prompt and type "mfinder1.2-h" and print "Usage:~", it's OK
11: "mfinder 1.2" should be the name of the .exe you are using.
22:
If the error "Internal Command~" appears.
·Run cmd.exe as administrator
·Log off once
·Reboot once
I think it will work (environment variables will be reflected) if you try.
© 2024 OneMinuteCode. All rights reserved.