RaxMl error "non-whitespace characters!" at end

275 views
Skip to first unread message

Hiren Ghosh

unread,
Aug 20, 2015, 9:30:32 AM8/20/15
to raxml
MY error are listed bellow
I used mugsy for alignment after all i used bioperl to convert the file


use Bio::AlignIO;
 
$in  = Bio::AlignIO->new(-file => "mygenome_test.maf" ,
                         -format => 'maf');
$out = Bio::AlignIO->new(-file => ">mygenome_test_out.phy",
                         -format => 'phylip');
 
while ( my $aln = $in->next_aln ) {
  $out->write_aln($aln);
}
 

Now could not mangae the error
Can anyone please help me out...
Thanks


Oups, there is garbage at the end of your file:

10 651877
H3_chromos   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
EC958_chro   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
Ecoli_jj18   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
H51_chromo   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
H53_chromo   CAGTTCCCCA GAAAGGCCAC CGCTGAATGT TTGTCGATTG GTCCAGGTAT TCGCTGTACT
H63_chromo   CAGTTCCCCA GAAAGGCCAC CGCTGAATGT TTGTCGATTG GTCCAGGTAT TCGCTGTACT
V260_chrom   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
V282_chrom   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
V291_chrom   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT
V295_chrom   TAGTTCACCA GAAAGGCCAC CGCTGAATGT TTGTCGATTA GTCCAGGTAT TCGCTGTACT

             GAGTAACGGT ATTTTCTCCC CGCTTGTGCC GAGTTCTCGT AAACCGAGGT T-TAAATAAT
             GAGTAACGGT ATTTTCTCCC CGCTTGTGCC GAGTTCTCGT AAACCGAGGT TTTAAATAAT
             GAGTAACGGT ATTTTCTCCC CGCTTGTGCC GAGTTCTCGT AAACCGAGGT TTTAAATAAT
             GAGTAACGGT ATTTTCTCCC CGCTTGTGCC GAGTTCTCGT AAACCGAGGT TTTAAATAAT
             GAGTAACGGT ATTTTCTCCC CGCTTGTGCC GAGTTCTCGT AAACCGAGGT T
 .... and so on


RAxML correctly finished parsing your PHYLIP file,
but there seems to be garbage at the end of the file, i.e., non-whitespace characters!
RAxML will exit now

Alexandros Stamatakis

unread,
Sep 29, 2015, 10:14:48 AM9/29/15
to ra...@googlegroups.com
Hi Hiren,

Could it be that your sequences are longer than indicated?

In any case, please send me the alignment and I will check.

Alexis
> --
> You received this message because you are subscribed to the Google
> Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to raxml+un...@googlegroups.com
> <mailto:raxml+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University
of Arizona at Tucson

www.exelixis-lab.org

Gloria Wang

unread,
Jul 24, 2018, 5:32:53 PM7/24/18
to raxml
Hi,
I ran into the same problem. is there any solution for this problem?

Alexandros Stamatakis

unread,
Jul 25, 2018, 12:40:29 AM7/25/18
to ra...@googlegroups.com
Hi Gloria,

Check if there is garbage at the end of the file and delete it.

If that doesn't work please send us the alignment file that is
generating the error.

Alexis
> > an email to raxml+un...@googlegroups.com <javascript:>
> > <mailto:raxml+un...@googlegroups.com <javascript:>>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Alexandros (Alexis) Stamatakis
>
> Research Group Leader, Heidelberg Institute for Theoretical Studies
> Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
> Adjunct Professor, Dept. of Ecology and Evolutionary Biology,
> University
> of Arizona at Tucson
>
> www.exelixis-lab.org <http://www.exelixis-lab.org>
>
> --
> You received this message because you are subscribed to the Google
> Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to raxml+un...@googlegroups.com
> <mailto:raxml+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology

www.exelixis-lab.org

Stefany Solano Gonzalez

unread,
Jul 11, 2022, 12:50:25 PM7/11/22
to raxml

Hello!

I had the same problem. In my case my pipeline was the following (maybe that's the root of my problem):
1) Ran progressiveMauve and produced an alignment with *.xmfa extension
2) Used Lee Katz perl script to convert the .xmfa to phy extension
3) Used that Phylip file as input to run RaxML (raxmlHPC-PTHREADS-SSE3)
4) Got the following message from RaxML: "RAxML correctly finished parsing your PHYLIP file, but there seems to be garbage at the end of the file, i.e., non-whitespace characters! RAxML will exit now"
5) Double check the alignment but seems normal to me

Can you spot the issue? 

Best wishes,
Stefany

Alexandros Stamatakis

unread,
Jul 11, 2022, 3:40:19 PM7/11/22
to ra...@googlegroups.com
Hi Stefany,

First of all please use the new version of RAxML-NG
(https://github.com/amkozlov/raxml-ng), as standard RAxML is not
supported any more.

Regarding spotting the issue you would need to send me the alignment file.

Alexis
> <http://www.exelixis-lab.org <http://www.exelixis-lab.org>>
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "raxml" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to raxml+un...@googlegroups.com
> > <mailto:raxml+un...@googlegroups.com>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> Alexandros (Alexis) Stamatakis
>
> Research Group Leader, Heidelberg Institute for Theoretical Studies
> Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
>
> www.exelixis-lab.org <http://www.exelixis-lab.org>
>
> --
> You received this message because you are subscribed to the Google
> Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to raxml+un...@googlegroups.com
> <mailto:raxml+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/raxml/61889e33-5f49-4079-bbcd-9da354d25e97n%40googlegroups.com
> <https://groups.google.com/d/msgid/raxml/61889e33-5f49-4079-bbcd-9da354d25e97n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
Affiliated Scientist, Evolutionary Genetics and Paleogenomics (EGP) lab,
Institute of Molecular Biology and Biotechnology, Foundation for
Research and Technology Hellas

www.exelixis-lab.org
Reply all
Reply to author
Forward
0 new messages