FET in command line

31 views
Skip to first unread message

Div

unread,
Aug 18, 2015, 8:01:13 AM8/18/15
to GO-Elite
Hi,

I am trying to get the Fisher exact test to work on the command line version of the program.

This is the version of GO-Elite I am using: v.1.2.5-Py

The tutorial tells me that I should enter -- permutations "FisherExactTest" to specify that I want to use FET instead of permuted P values. However, I get an error saying that permutations needs to be an integer.

(It works on the GUI version but I would like to get it working on the command line)

Can you please help me and let me know what I am doing incorrectly?

Thanks.

Nathan Salomonis

unread,
Aug 18, 2015, 8:12:46 AM8/18/15
to go-e...@googlegroups.com, divya.na...@gmail.com
Hi Divya,

It looks like there is a line that needs to be fixed. In the source code (GO_Elite.py) find:

        permutations = int(permutations);change_threshold = int(change_threshold)

and change to:

        try: permutations = int(permutations)
        except Exception: pass
        change_threshold = int(change_threshold)

This then runs fine for me, then.

Best,
Nathan



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

Reply all
Reply to author
Forward
0 new messages