Coder Social home page Coder Social logo

Comments (7)

xavierdidelot avatar xavierdidelot commented on July 20, 2024

Hi Ed,

You should make sure that the header lines of your XMFA file are formatted
for example as follows:

seq5
In particular nothing is allowed after the "seq5" (as there would be if
your xmfa is the output of mauve for example) and no space is allowed after
the ">" symbol.

Best wishes,
Xavier

On 24 September 2015 at 14:49, simianraticus [email protected]
wrote:

Dear Xavier,

I am experiencing an issue that apparently is closely related to two
athers reported previously (#7
#7, #17
#17), but the
solution does not seem to apply to my situation.

I am trying to perform a recombination analysis on 6 bacterial genomes.
The two input files provided to the software are an xmfa alignment and a
guide tree in Newick format, both constructed with MAUVE.

I run the command:
./ClonalFrameML /home/prova1.nwk /home/prova1.xmfa /home/prova1_out
-xmfa_file true -show_progress true

but I get the following error:

"ClonalFrameML version 1.-178
xmfa_file = true
show_progress = true
Finished reading in control file.

Read 6 sequences of length 2844495 sites from /home/prova1.xmfa
ERROR: convert_NewickTree_to_marginal_tree(): Newick tree tip label seq5
was not expected"

I have tried to edit the Newick file to change or remove tip labels, but
that did not change the situation.

Could you please help me to resolve this?

All the best

Ed

P.S. sorry for the double post, but I have just noticed that the original
one was posted by mistake as a reply to the closed Issue #17
#17.

β€”
Reply to this email directly or view it on GitHub
#18.

from clonalframeml.

simianraticus avatar simianraticus commented on July 20, 2024

Hi Xavier,

Thank you for your fast reply!

I have changed the headers in the xmfa file as you specified in your reply and apparently it worked fine to overcome the reported error.

Unfortunately after few seconds I got a new error... :(

I run the command:

./ClonalFrameML /home/prova1.nwk /home/prova1_edit.xmfa /home/prova1_out -xmfa_file true -show_progress true

but I get the following error:

"ClonalFrameML version 1.-178
xmfa_file = true
show_progress = true
Finished reading in control file.

Read 6 sequences of length 2844495 sites from /home/prova1_edit.xmfa
ERROR: FASTA_to_nucleotide(): unsupported base

Would you please help me again on this?

More specifically it would be great if you explained me which mauve .xmfa file characteristics need modification before a ClonalFrameML run.

Thank you very much!

All the best,

Ed

from clonalframeml.

xavierdidelot avatar xavierdidelot commented on July 20, 2024

Hi Ed,

The character 'N' is the only one allowed to represent ambiguous bases. Can
you check you don't use some other character somewhere? None of the other
symbols are accepted from the list at
http://www.chick.manchester.ac.uk/SiteSeer/IUPAC_codes.html

Best wishes,
Xavier

On 25 September 2015 at 15:22, simianraticus [email protected]
wrote:

Hi Xavier,

Thank you for your fast reply!

I have changed the headers in the xmfa file as you specified in your reply
and apparently it worked fine to overcome the reported error.

Unfortunately after few seconds I got a new error... :(

I run the command:

./ClonalFrameML /home/prova1.nwk /home/prova1_edit.xmfa /home/prova1_out
-xmfa_file true -show_progress true

but I get the following error:

"ClonalFrameML version 1.-178
xmfa_file = true
show_progress = true
Finished reading in control file.

Read 6 sequences of length 2844495 sites from /home/prova1_edit.xmfa
ERROR: FASTA_to_nucleotide(): unsupported base

Would you please help me again on this?

More specifically it would be great if you explained me which mauve .xmfa
file characteristics need modification before a ClonalFrameML run.

Thank you very much!

All the best,

Ed

β€”
Reply to this email directly or view it on GitHub
#18 (comment)
.

from clonalframeml.

simianraticus avatar simianraticus commented on July 20, 2024

Hi Xavier,

I have performed a search for 'illegal' nucleotide characters in my modified xmfa file, but, besides '-' for gaps or '=' for comments, I could not find any.

Since I have just noticed that the mauve xmfa file has lower case characters to represent nucleotides, I wonder if ClonalFrameML is case sensitive in nucleotide recognition.

Otherwise I cannot figure out what could be the problem here.

Thank you a lot again.

All the best,

Ed

from clonalframeml.

xavierdidelot avatar xavierdidelot commented on July 20, 2024

No it's definitely not case sensitive. There must be something in file that
CFML does not like. Could you send it to me or at least some extract so I
can reproduce your problem?
Xavier

On 25 September 2015 at 16:11, simianraticus [email protected]
wrote:

Hi Xavier,

I have performed a search for 'illegal' nucleotide characters in my
modified xmfa file, but, besides '-' for gaps or '=' for comments, I could
not find any.

Since I have just noticed that the mauve xmfa file has lower case
characters to represent nucleotides, I wonder if ClonalFrameML is case
sensitive in nucleotide recognition.

Otherwise I cannot figure out what could be the problem here.

Thank you a lot again.

All the best,

Ed

β€”
Reply to this email directly or view it on GitHub
#18 (comment)
.

from clonalframeml.

simianraticus avatar simianraticus commented on July 20, 2024

Thank you, I have just sent you the file by email.

from clonalframeml.

xavierdidelot avatar xavierdidelot commented on July 20, 2024

For the record, the xmfa file was not valid input for CFML because all alignment blocks need to have sequence for all genomes. The first block had seq1, seq2, seq3, seq4, seq5, seq6 but the second block had only seq2, seq3, seq6. etc.

from clonalframeml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.