CLUMPP error message

150 views
Skip to first unread message

Tianji Cai

unread,
Nov 20, 2009, 12:35:38 AM11/20/09
to structure-software

Hey all,

I was trying to run CLUMPP but got a very noninformative error
message.

Not a valid number. Expecting an integer >0.

I guess I was wrong on some parameters or input data file. But I
checked both of them, none of them have such problem. Any suggestions?

Here is my paramfile, and part of indfile.

Thank you very much!

Best

Tianji Cai

cluster.indfile

1 1003 (X) 1000 : 0.9813 0.0023 0.0163
2 1004 (X) 1000 : 0.9338 0.0593 0.0069
...
2064 9997 (X) 1000 : 0.9234 0.0586 0.018
2065 9999 (X) 1000 : 0.9392 0.0365 0.0243
1 1003 (X) 1000 : 0.0368 0.0233 0.9399
2 1004 (X) 1000 : 0.0023 0.0662 0.9316
...
2064 9997 (X) 1000 : 0.0048 0.0362 0.959
2065 9999 (X) 1000 : 0.0276 0.0709 0.9015



cluster.paramfile

DATATYPE 0
INDFILE cluster.indfile
POPFILE
OUTFILE cluster.outfile
MISCFILE cluster.miscfile
K 3
C 2065
R 2
M 2

W 0
S 2

PRINT_PERMUTED_DATA 1
PERMUTED_DATAFILE cluster.perm_datafile
PRINT_EVERY_PERM 0
PRINT_RANDOM_INPUTORDER 0
ORDER_BY_RUN 1

Tonya Bittner

unread,
Oct 1, 2015, 3:13:52 PM10/1/15
to structure-software
Hello helpers,

I know this post is old, but I can't find any other posts about this specific CLUMPP error:  "Not a valid number.  Expecting an integer > 0."
I am stuck here after successfully running Structure and harvester.  Here are my paramfile and input file for individuals.
(Structure:  I ran 5x per cluster for K=1 to K=12 and got best K=4.  884 wasps, 9 predefined pops but those weren't used as priors in Structure).  Selected the appropriate file from harvester output.  I've checked for hidden file extensions and made sure all files are in the right location.  I have spent many hours with the manual and the forum, mercy, please!

Thank you so much-
Tonya
paramfile
K4.indfile

Vikram Chhatre

unread,
Oct 1, 2015, 3:34:45 PM10/1/15
to structure-software
There are several problems with your parameter file.  For one it is too minimal.  You need many more parameters.  Also, you are setting it to run fullsearch which, as has been discussed many times on this forum, will take a very long time to run.

You need at least this:
------------------------------------------------
#Parameters for K4 by individual
DATATYPE 0
INDFILE K4.indfile
OUTFILE K4.outfile
MISCFILE K4ind.miscfile
K 4
C 884
R 5
M 2
W 0
S 2
GREEDY_OPTION 2
REPEATS 1000
PRINT_RANDOM_INPUTORDER 0 
PRINT_PERMUTED_DATA 1
PERMUTED_DATAFILE test.perm_datafile
PRINT_EVERY_PERM 0
OVERRIDE_WARNINGS 0
ORDER_BY_RUN 0
------------------------------------------------

Also, change line endings to 'mac' or 'unix' if you are on a mac or linux OS.  Then try again.  It works here.

V


--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

Tonya Bittner

unread,
Oct 1, 2015, 4:31:45 PM10/1/15
to structure-software
Vikram-
Thank you so much.  Forgot to mention I'm on a Windows machine.
I'm sorry I missed that about the time to run, and I left out parameters that I thought were optional for fullsearch.  But I see that I missed at least one that was required.
Anyway, after carefully editing my paramfile as you suggested (attached) I get the exact same error.  Do you have any other suggestions?  Does it help to restart the machine and/or the Windows shell?
I really appreciate your time.
Tonya
To unsubscribe from this group and stop receiving emails from it, send an email to structure-software+unsub...@googlegroups.com.
paramfile

Vikram Chhatre

unread,
Oct 1, 2015, 4:39:44 PM10/1/15
to structure-software
This paramfile and the one I sent are identical.  The only advise I can offer is to try it on mac/linux platforms.  

V

Tonya
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at http://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.

sher...@umn.edu

unread,
Apr 26, 2019, 11:09:46 PM4/26/19
to structure-software
I've been running into this problem too. I get the error when running either from the Windows command line or when launching the program by clicking the executable icon. I checked the permissions on the paramfile and the popfile but cannot find what the problem might be. As far as I can tell I have everything needed in the paramfile and it's formatted the same way as the example that comes with the program.

I would appreciate any help anyone can offer.

Thanks!
Andy
Reply all
Reply to author
Forward
0 new messages