Parsimony

Hello,

I am trying to run parsimony on a small dataset. I know that the groups file contains the groups indicated. Either way I try to run the command I encounter an error.

The count method tells me none of my groups are present and goes into a scrolling output that I have to force close.
count.seqs(name=final_a_bacdups.names, group=a_bacdups.pick.happy.groups)
parsimony(tree=final_a_bacdups.an.thetayc.0.03.ave.tre, count=final_a_bacdups.count_table)

The group method comes up with a seg fault.
parsimony(tree=final_a_bacdups.an.thetayc.0.03.ave.tre, group=a_bacdups.pick.happy.groups

Any help would be greatly appreciated. Logs are below.

-Julia


mothur v.1.29.2
Last updated: 2/26/2013

by
Patrick D. Schloss

Department of Microbiology & Immunology
University of Michigan
pschloss@umich.edu
http://www.mothur.org

When using, please cite:
Schloss, P.D., et al., Introducing mothur: Open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl Environ Microbiol, 2009. 75(23):7537-41.

Distributed under the GNU General Public License

Type ‘help()’ for information on the commands that are available

Type ‘quit()’ to exit program



mothur > set.dir(input=/Users/julia/Desktop/bacdupsworking)

Mothur’s directories:
inputDir=/Users/julia/Desktop/bacdupsworking/

mothur > set.dir(output=/Users/julia/Desktop/bacdupsworking)

Mothur’s directories:
outputDir=/Users/julia/Desktop/bacdupsworking/

mothur > set.dir(tempdefault=/Users/julia/Desktop/bacdupsworking)

Mothur’s directories:
tempDefault=/Users/julia/Desktop/bacdupsworking/

mothur > count.seqs(name=final_a_bacdups.names, group=a_bacdups.pick.happy.groups)

Unable to open final_a_bacdups.names. Trying default /Users/julia/Desktop/bacdupsworking/final_a_bacdups.names
Unable to open a_bacdups.pick.happy.groups. Trying default /Users/julia/Desktop/bacdupsworking/a_bacdups.pick.happy.groups

Total number of sequences: 12784

Output File Names:
/Users/julia/Desktop/bacdupsworking/final_a_bacdups.count_table


mothur > parsimony(tree=final_a_bacdups.an.thetayc.0.03.ave.tre, count=final_a_bacdups.count_table)

Unable to open final_a_bacdups.an.thetayc.0.03.ave.tre. Trying default /Users/julia/Desktop/bacdupsworking/final_a_bacdups.an.thetayc.0.03.ave.tre
Unable to open final_a_bacdups.count_table. Trying default /Users/julia/Desktop/bacdupsworking/final_a_bacdups.count_table

Using 1 processors.
[ERROR]: STYS3_2_ is not in your count table. Please correct.
Segmentation fault
nat-10-200-52-30:mothur1.29.2 julia$


Mac version

Using ReadLine

Running 64Bit Version

mothur v.1.29.2
Last updated: 2/26/2013

by
Patrick D. Schloss

Department of Microbiology & Immunology
University of Michigan
pschloss@umich.edu
http://www.mothur.org

When using, please cite:
Schloss, P.D., et al., Introducing mothur: Open-source, platform-independent, community-supported software for describing and comparing microbial communities. Appl Environ Microbiol, 2009. 75(23):7537-41.

Distributed under the GNU General Public License

Type ‘help()’ for information on the commands that are available

Type ‘quit()’ to exit program
Interactive Mode


mothur > set.dir(input=/Users/julia/Desktop/bacdupsworking) Mothur's directories: inputDir=/Users/julia/Desktop/bacdupsworking/

mothur > set.dir(output=/Users/julia/Desktop/bacdupsworking)
Mothur’s directories:
outputDir=/Users/julia/Desktop/bacdupsworking/

mothur > set.dir(tempdefault=/Users/julia/Desktop/bacdupsworking)
Mothur’s directories:
tempDefault=/Users/julia/Desktop/bacdupsworking/

mothur > parsimony(tree=final_a_bacdups.an.thetayc.0.03.ave.tre, group=a_bacdups.pick.happy.groups)
Unable to open final_a_bacdups.an.thetayc.0.03.ave.tre. Trying default /Users/julia/Desktop/bacdupsworking/final_a_bacdups.an.thetayc.0.03.ave.tre
Unable to open a_bacdups.pick.happy.groups. Trying default /Users/julia/Desktop/bacdupsworking/a_bacdups.pick.happy.groups

Using 1 processors.
[ERROR]: Your group file does not contain HVYS5_. Please correct.
[ERROR]: Your group file does not contain HVYS5_2_. Please correct.
[ERROR]: Your group file does not contain HVYS5_3_. Please correct.
[ERROR]: Your group file does not contain STYS3_. Please correct.
[ERROR]: Your group file does not contain STYS3_2_. Please correct.

Removing group: HVYS5_ because all sequences have been removed.

Removing group: HVYS5_2_ because all sequences have been removed.

Removing group: HVYS5_3_ because all sequences have been removed.

Removing group: STYS3_ because all sequences have been removed.

Removing group: STYS3_2_ because all sequences have been removed.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
error with lc
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
error with lc
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
error with lc
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
[ERROR]: Your count table does not have group info. Please correct.
error with lc <------- This is repeated until the memory fills or I lose patience.

Do your group names contain ‘:’ characters?

No, no colons. My list of groups is: HVYS5_ HVYS5_2_ HVYS5_3_ STYS3_ STYS3_2_

Could you send your input files and logfile to mothur.bugs@gmail.com so I can try to track down the issue for you?

Logs and files sent.

Your tree file shows the relationships between your groups, but your groupfile relates your sequences to their groups. You want to use a design file for the group file input with the parsimony command when your tree relates group. The design file tells mothur the treatments the groups belong to. Here’s an example from the Schloss SOP, http://www.mothur.org/wiki/Schloss_SOP#Analysis.

mouse.sex_time.design contains:
F003D000 F003Early
F003D002 F003Early
F003D004 F003Early
F003D006 F003Early
F003D008 F003Early
F003D142 F003Late
F003D144 F003Late
F003D146 F003Late
F003D148 F003Late
F003D150 F003Late

parsimony(tree=final.an.thetayc.0.03.ave.tre, group=mouse.sex_time.design, groups=all)

Kindly,
Sarah

Hello,

I am also facing the same problem. I am trying to run parsimony and unifrac command,
mothur>parsimony(tree=final.an.unique_list.braycurtis.0.03.tre, group=mucus.design, groups=all)


when i run them i get error with lc.

I used both the current database and old for greengenes formated database, and i still get error with lc.

I really need a help, i dont know why i get this error, your help is much appreciate it.


Ghaida

Can you send us the files you are inputting to the command, the actual command syntax you are entering, and the url for this post?

Thanks!
Pat

mothur.bugs@gmail.com

I have attached the files to mothur.bugs@gmail.com

Hello,

I didn’t heard anything from you about my data, I would like to know if there is any problem with it or what?

Thank you and hope to hear from you soon.

Ghiada

You are getting the following errors…

mothur > parsimony(tree=final.an.unique_list.braycurtis.0.03.tre, group=design.file.txt)


Using 1 processors.
[ERROR]: Your group file does not contain AD1. Please correct.
[ERROR]: Your group file does not contain AD2. Please correct.
[ERROR]: Your group file does not contain AD3. Please correct.
[ERROR]: Your group file does not contain AD4. Please correct.
[ERROR]: Your group file does not contain AD5. Please correct.
[ERROR]: Your group file does not contain AD6. Please correct.
[ERROR]: Your group file does not contain AD7. Please correct.
[ERROR]: Your group file does not contain AD8. Please correct.
[ERROR]: Your group file does not contain AD9. Please correct.
[ERROR]: Your group file does not contain S1. Please correct.
[ERROR]: Your group file does not contain S2. Please correct.
[ERROR]: Your group file does not contain S3. Please correct.
[ERROR]: Your group file does not contain S4. Please correct.
[ERROR]: Your group file does not contain S5. Please correct.
[ERROR]: Your group file does not contain S6. Please correct.
[ERROR]: Your group file does not contain S7. Please correct.
[ERROR]: Your group file does not contain S8. Please correct.
[ERROR]: Your group file does not contain S9. Please correct.
Name: AD9 is not in your groupfile, and will be disregarded. 
[ERROR]: Your count table contains more than 1 sequence named AD9, sequence names must be unique. Please correct.
error with lc

When I look at your design file you have group names like S01, S02, etc - not S1, S2. If you can fix this I think you’ll be in good shape.

pat

ok, i will do it and will let you know:)

Thank you for your help

Hello,

I renamed the samples instead of S01,S02,etc to S1,S2,etc… but I still have the same message
mothur > parsimony(tree=final.an.unique_list.braycurtis.0.03.tre, group=design.file.txt)


Using 1 processors. [ERROR]: Your group file does not contain AD1. Please correct. [ERROR]: Your group file does not contain AD2. Please correct. [ERROR]: Your group file does not contain AD3. Please correct. [ERROR]: Your group file does not contain AD4. Please correct. [ERROR]: Your group file does not contain AD5. Please correct. [ERROR]: Your group file does not contain AD6. Please correct. [ERROR]: Your group file does not contain AD7. Please correct. [ERROR]: Your group file does not contain AD8. Please correct. [ERROR]: Your group file does not contain AD9. Please correct. [ERROR]: Your group file does not contain S1. Please correct. [ERROR]: Your group file does not contain S2. Please correct. [ERROR]: Your group file does not contain S3. Please correct. [ERROR]: Your group file does not contain S4. Please correct. [ERROR]: Your group file does not contain S5. Please correct. [ERROR]: Your group file does not contain S6. Please correct. [ERROR]: Your group file does not contain S7. Please correct. [ERROR]: Your group file does not contain S8. Please correct. [ERROR]: Your group file does not contain S9. Please correct. Name: AD9 is not in your groupfile, and will be disregarded. [ERROR]: Your count table contains more than 1 sequence named AD9, sequence names must be unique. Please correct. error with lc

In my file design the first column refers to sample name and the second column refers to the group that each sample belong to

For example: AD1,AD2,etc … belongs to AD group

Also, I looked into my count table file and I didn’t see that AD9 have more than 1 sequence.

So, what do you think the problem is.

Your help is much appreciated. Thank you again
Hope to hear from you soon

Are you using our current version? I am not seeing that error.

mothur > parsimony(tree=final.an.unique_list.braycurtis.0.03.tre, group=design.file.txt)

Using 1 processors.
********************###########
Comparing to random:||||||||||||||||||||||||||||||||||||||||||||||||||||


Tree# Groups ParsScore ParsSig
1 AD-ADF-RS-RSF 5 <0.001

Kindly,
Sarah