Distruct error

222 views
Skip to first unread message

heather...@gmail.com

unread,
Dec 2, 2013, 10:48:34 PM12/2/13
to structure...@googlegroups.com
Hi everyone,

I'm having trouble getting distruct to work for my files, I've added the correct files (both indvq and popq) and I believe I have edited the drawparams file correctly but it comes up with this error


F:\HEATHER 8G (H)\PhD\Results\Distruct\distruct1.1>cmd /k "distructWindows1.1.ex
e"

Error: was expecting integer on
row 1 and column 4 in population Q-matrix file K2pop.popq.
Check if the number of clusters K is set to the correct value.

Exiting the program due to error(s) listed above.

Structure Harvester told me that K = 2 which are the files i've used and there are 4 populations.


Any help would be greatly appreciated!

Vikram Chhatre

unread,
Dec 2, 2013, 10:50:20 PM12/2/13
to structure-software
Heather -

Please post your popq, indiviq and drawparams files.

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/groups/opt_out.

heather...@gmail.com

unread,
Dec 2, 2013, 11:02:34 PM12/2/13
to structure...@googlegroups.com
Sorry, having trouble attaching files, how exactly do you do it?

H

Vikram Chhatre

unread,
Dec 2, 2013, 11:04:32 PM12/2/13
to structure-software
Compose email normally through your client (e.g. gmail) and attach files.  The address is structure...@googlegroups.com.  No need to post through the groups web interface.

V

heather...@gmail.com

unread,
Dec 2, 2013, 11:18:29 PM12/2/13
to structure...@googlegroups.com
Sorry, finally got it to work.

Files attached,

Thanks,
H


On Tuesday, December 3, 2013 2:04:32 PM UTC+10, Vikram Chhatre wrote:
Compose email normally through your client (e.g. gmail) and attach files.  The address is structure...@googlegroups.com.  No need to post through the groups web interface.

V
On Mon, Dec 2, 2013 at 10:02 PM, <heather...@gmail.com> wrote:
Sorry, having trouble attaching files, how exactly do you do it?

H


On Tuesday, December 3, 2013 1:50:20 PM UTC+10, Vikram Chhatre wrote:
> Heather -
>
>
> Please post your popq, indiviq and drawparams files.
>
>
> V
>
>
>
> On Mon, Dec 2, 2013 at 9:48 PM,  <heather...@gmail.com> wrote:
>
> Hi everyone,
>
>
>
> I'm having trouble getting distruct to work for my files, I've added the correct files (both indvq and popq) and I believe I have edited the drawparams file correctly but it comes up with this error
>
>
>
>
>
> F:\HEATHER 8G (H)\PhD\Results\Distruct\distruct1.1>cmd /k "distructWindows1.1.ex
>
> e"
>
>
>
> Error: was expecting integer on
>
>   row 1 and column 4 in population Q-matrix file K2pop.popq.
>
>   Check if the number of clusters K is set to the correct value.
>
>
>
> Exiting the program due to error(s) listed above.
>
>
>
> Structure Harvester told me that K = 2 which are the files i've used and there are 4 populations.
>
>
>
>
>
> Any help would be greatly appreciated!
>
>
>
> --
>
> 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-software+unsub...@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/groups/opt_out.

--
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-software+unsub...@googlegroups.com.
K2pop.popq.outfile
K2ind.indivq.outfile
drawparams.txt

Vikram Chhatre

unread,
Dec 2, 2013, 11:36:53 PM12/2/13
to structure-software
Heather -

The error you were getting was caused due to excessive distance between the parameter name and it's value for the number of clusters.  Also missing was the color profile permfile.  After fixing these deficiencies, the program still needed label files.  I prepared dummy files without population names.  At this point, the program started working.  Please see the attached archive.

V

Heather.zip

heather...@gmail.com

unread,
Dec 3, 2013, 12:45:10 AM12/3/13
to structure...@googlegroups.com

Thanks for your help. The reason I didn't label any of the populations is because they're actually regions comprised of numerous populations. I'll likely be altering these regions until I get accurate genetic clustering to see how it looks geographically. Is there any way to know which individual samples were allocated to which cluster? That would help minimize my workload considerably!

Thanks again,

Heather

heather...@gmail.com

unread,
Dec 3, 2013, 1:04:28 AM12/3/13
to structure...@googlegroups.com
Hi again,

I just ran a MDS in PRIMER and that gave me some good possible regional data, so I'll use that to rearrange my regions for STRUCTURE etc

Heather

Vikram Chhatre

unread,
Dec 3, 2013, 1:04:57 AM12/3/13
to structure-software
Individuals in the plot are separated by thick vertical lines that denote populations you have specified under POPDATA.  I am seeing four major partitions in there corresponding to the four populations you have specified.  Individual are arranged serially.


--
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.

Sara Lipshutz

unread,
Dec 14, 2015, 11:35:05 PM12/14/15
to structure-software
Hi there, 

I'm having a similar issue to Heather. I set up my indivq and popq files, but got the following error: 

Saras-MBP:distruct1.1 saralipshutz$ ./distructMac2013

Error: was expecting integer followed by colon on

  row 1 and column 1 in population Q-matrix file wcs_diag3070_K2_ind.outfile.

  Check if the number of clusters K is set to the correct value.


Thanks, 
Sara

drawparams
popnames_17.txt
wcs_diag3070_K2.indivq
wcs_diag3070_K2.popq
Reply all
Reply to author
Forward
0 new messages