From erik.sjolund at sbc.su.se Wed Aug 1 14:59:10 2012 From: erik.sjolund at sbc.su.se (=?ISO-8859-1?Q?Erik_Sj=F6lund?=) Date: Wed, 01 Aug 2012 14:59:10 +0200 Subject: [Primeusers] syntax and tree input problems In-Reply-To: <5016BD7C.3050808@bangor.ac.uk> References: <5016BD7C.3050808@bangor.ac.uk> Message-ID: <5019281E.4080500@sbc.su.se> on 07/30/2012 06:59 PM A.Malhotra wrote: > > 2. Syntax. By deleting various options and trying again I have narrowed > it down to a problem with the -Su option. I am writing it like this: > -Su DNA Pi=0.254 0.283 0.234 0.229 R=0.1087 0.2980 0.0784 0.1029 0.3372 > 0.0747 > > But this produces "Unknown Beep option" (or similar) > > If I replace this string with -Sm JC69 it seems fine. I looked into the source code (src/cxx/applications/primeDLRS/primeDLRS.cc and src/cxx/libraries/prime/BeepOption.cc) and my best guess is that it might work if you remove "Pi=" and "R=". In other words -Su DNA 0.254 0.283 0.234 0.229 0.1087 0.2980 0.0784 0.1029 0.3372 But this is just a guess. I am not too familiar with how PrIME works. Let us take a look at the help output of the command primeDLRS: $ primeDLRS -h 2>&1 | grep -A 1 DNA -Su <'DNA'/'AminoAcid'/'Codon'> User-defined substitution model. The size of Pi and R must fit data type (DNA: n=4, AminoAcid: n=20, Codon: n=62). R is given as a flattened upper triangular matrix. Don't use both option -Su and -Sm. I see the text "Pi=" mentioned, but my guess is that it shouldn't be written on the command line. cheers, Erik Sj?lund