Tassel5 Standalone Pipeline: Error Could not load Main Class

284 views
Skip to first unread message

wardah khurshida

unread,
Jul 4, 2018, 5:50:34 PM7/4/18
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi

I am trying to use Tassel standalone (first time) I am using the instructions here: https://bytebucket.org/tasseladmin/tassel-5-source/wiki/docs/Tassel5PipelineCLI.pdf.

I need further clarification about a statement which I don't seem to understand the wording of and how to use it:

"In UNIX, use run_pipeline.pl to execute the pipeline. If you are using a Bash Shell on Windows, youmay need to change the following line to use a ; instead of a :


my $CP = join(":", @fl);

I am using Window 10 and Git Bash I have installed Java 10 version as well. This line I think will solve my error message:
Error: Could not find or load main class net.maizegenetics.tassel.TASSELMainApp
Caused by: java.lang.ClassNotFoundException: net.maizegenetics.tassel.TASSELMainApp


I just don't know how to use it correctly. I have attached a screenshot below.

Thanks for the help!
TASSEL-5-STANDALONE-BASH.png

Terry Casstevens

unread,
Jul 4, 2018, 5:56:02 PM7/4/18
to Tassel User Group
That means to modify that line in start_tassel.pl. I've attached the
modified file
> --
> You received this message because you are subscribed to the Google Groups
> "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tassel+un...@googlegroups.com.
> To post to this group, send email to tas...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tassel/a94beb1c-e57b-4619-9595-7f345f3cb2c5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
start_tassel.pl
Message has been deleted

Terry Casstevens

unread,
Jul 11, 2018, 10:34:40 PM7/11/18
to Tassel User Group
Did you try using the modified script that I attached in the previous email?

On Wed, Jul 11, 2018 at 9:33 PM, wardah khurshida <wkmus...@gmail.com> wrote:
> Hi Tyler
> I have changed ":" ----> ";" but I am getting a bash syntax token error ")"
>
> I typed everything myself but still....
> https://groups.google.com/d/msgid/tassel/58d40d6e-3feb-498e-ae66-2e9df3eee055%40googlegroups.com.

wardah khurshida

unread,
Jul 11, 2018, 10:47:19 PM7/11/18
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi Terry

I have listed the code as

my $CP = join(";", @fl);

but I get a 'bash: syntax error near unexpected token `('

then I placed quotes around it like this: "my $CP = join(";", @fl);"

but then it does not recognize the command.


On Wednesday, July 4, 2018 at 4:56:02 PM UTC-5, Terry wrote:
Auto Generated Inline Image 1

wardah khurshida

unread,
Jul 11, 2018, 10:59:15 PM7/11/18
to TASSEL - Trait Analysis by Association, Evolution and Linkage
I have a question about that  file: Do I simply copy and paste the modified code into Git Bash or do I have to make my own modifications to the file you sent me?

Terry Casstevens

unread,
Jul 12, 2018, 1:03:21 PM7/12/18
to Tassel User Group
I made the modifications in the attached file. Just replace the file
you have with my attached file.

On Wed, Jul 11, 2018 at 10:59 PM, wardah khurshida
> https://groups.google.com/d/msgid/tassel/cd3fdfe8-2665-4092-a359-9e8cd172f3be%40googlegroups.com.

wardah

unread,
Jul 12, 2018, 10:09:48 PM7/12/18
to tas...@googlegroups.com
Got it ! Thanks!

Have a pleasant day!
Wardah Mustahsan


> To post to this group, send email to tas...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tassel/cd3fdfe8-2665-4092-a359-9e8cd172f3be%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tassel+unsubscribe@googlegroups.com.

To post to this group, send email to tas...@googlegroups.com.

wardah khurshida

unread,
Jul 13, 2018, 12:33:25 AM7/13/18
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi Terry

I have a follow up question about the -importGuess function is it normal on Windows that when you put this command in for the Tassel program to flash on my screen for a split second then disappear with no files loaded on Git? Should this function not list all files in the standalone folder?

Do I need to change some script? Please look below.

Auto Generated Inline Image 1

Terry Casstevens

unread,
Jul 13, 2018, 8:03:23 AM7/13/18
to Tassel User Group
-importGuess is generally used from the command line (run_pipeline.pl)
and requires a file name following it.

Your execution would work if there were a supported file name
following -importGuess

On Fri, Jul 13, 2018 at 12:33 AM, wardah khurshida
<wkmus...@gmail.com> wrote:
> Hi Terry
>
> I have a follow up question about the -importGuess function is it normal on
> Windows that when you put this command in for the Tassel program to flash on
> my screen for a split second then disappear with no files loaded on Git?
> Should this function not list all files in the standalone folder?
>
> Do I need to change some script? Please look below.
>
>
> https://groups.google.com/d/msgid/tassel/23bea4d9-d0ef-46df-9f38-53b5920d91e5%40googlegroups.com.

wardah

unread,
Jul 13, 2018, 8:05:28 AM7/13/18
to tas...@googlegroups.com
Can you please give an example? 


For more options, visit https://groups.google.com/d/optout.
--

Terry Casstevens

unread,
Jul 13, 2018, 8:11:22 AM7/13/18
to Tassel User Group
I recommend...

./start_tassel.pl -Xmx6g

Or if you are trying to load a file during TASSEL GUI startup...

./start_tassel.pl -Xmx6g -importGuess mdp_genotype.hmp.txt
> https://groups.google.com/d/msgid/tassel/CAHAyvgKDVgfuUwvxRaU3rtMb_YkuX17ACiFkjgpSKqT4jSu4vw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages