BEAST2 BASTA error

219 views
Skip to first unread message

carla

unread,
Oct 25, 2018, 4:43:49 PM10/25/18
to beast-users
Hi All,

I have followed the tutorials to set up the xml with BEAST2 and then change it to set up the BASTA analysis, however it gives me a random error (<run> should terminate with </run> which of course does).
anyone can help me?
Thanks,
Carla

attaching here the xml lines

<run id="mcmc" spec="MCMC" chainLength="10000000" numInitializationAttempts="100" storeEvery="-10">
    <state id="state" storeEvery="5000">
        <stateNode id="Tree.t:126G_output" spec="beast.evolution.tree.StructuredCoalescentMultiTypeTreeVolz">
            <migrationModelVolzVolz id="migModelInit.t:126G_output" spec="beast.evolution.tree.MigrationModelVolz">
                <parameter id="RealParameter.0" dimension="2" estimate="false" name="rateMatrix">1.0 1.0</parameter>
                <parameter id="RealParameter.1" estimate="false" name="rateMatrixScaleFactor">1.0</parameter>
                <parameter id="RealParameter.2" dimension="2" estimate="false" name="popSizes">1.0 1.0</parameter>
                <parameter id="RealParameter.3" estimate="false" name="popSizesScaleFactor">1.0</parameter>
                <typeSet id="typeSet.t:126G_output" spec="beast.evolution.tree.TypeSet" value="">
                    <typeTraitSet id="typeTraitSetInput.t:126G_output" spec="beast.evolution.tree.TraitSet" traitname="type" value="seq"
<taxa id="taxonsSet.t:126G_output" spec="TaxonSet">
                            <alignment idref="126G_output"/>
                        </taxa>
                    </typeTraitSet>
                </typeSet>
            </migrationModelVolzVolz>
            <typeTrait idref="typeTraitSetInput.t:126G_output"/>
            <typeSet idref="typeSet.t:126G_output"/>
            <trait id="dateTrait.t:126G_output" spec="beast.evolution.tree.TraitSet" taxa="@taxonsSet.t:126G_output" traitname="date" units="day" value="seq"
<taxonset idref="taxonsSet.t:126G_output"/>
        </stateNode>
        <parameter id="kappa.s:126G_output" lower="0.0" name="stateNode">1.0</parameter>
        <parameter id="ucldMean.c:126G_output" name="stateNode">1.0</parameter>
        <parameter id="ucldStdev.c:126G_output" lower="0.0" name="stateNode">0.1</parameter>
        <stateNode id="rateCategories.c:126G_output" spec="parameter.IntegerParameter" dimension="92">1</stateNode>
        <parameter id="rateMatrix.t:126G_output" dimension="2" name="stateNode">1.0 1.0</parameter>
        <parameter id="popSizes.t:126G_output" dimension="2" name="stateNode">1.0 1.0</parameter>
    </state>
    <distribution id="posterior" spec="util.CompoundDistribution">
        <distribution id="prior" spec="util.CompoundDistribution">
            <prior id="KappaPrior.s:126G_output" name="distribution" x="@kappa.s:126G_output">
                <LogNormal id="LogNormalDistributionModel.0" name="distr">
                    <parameter id="RealParameter.5" estimate="false" name="M">0.0</parameter>
                    <parameter id="RealParameter.6" estimate="false" name="S">1.0</parameter>
                </LogNormal>
            </prior>
            <prior id="popSizesPrior.t:126G_output" name="distribution" x="@popSizes.t:126G_output">
                <LogNormal id="LogNormalDistributionModel.1" name="distr">
                    <parameter id="RealParameter.10" estimate="false" name="M">1.0</parameter>
                    <parameter id="RealParameter.11" estimate="false" lower="0.0" name="S" upper="10.0">1.25</parameter>
                </LogNormal>
            </prior>
            <prior id="rateMatrixPrior.t:126G_output" name="distribution" x="@rateMatrix.t:126G_output">
                <LogNormal id="LogNormalDistributionModel.2" name="distr">
                    <parameter id="RealParameter.12" estimate="false" name="M">1.0</parameter>
                    <parameter id="RealParameter.13" estimate="false" lower="0.0" name="S" upper="5.0">1.25</parameter>
                </LogNormal>
            </prior>
            <distribution id="structuredCoalescent.t:126G_output" spec="multitypetreeVolz.distributions.StructuredCoalescentTreeDensityVolz" multiTypeTree="@Tree.t:126G_output">
                <migrationModelVolz id="migModel.t:126G_output" spec="beast.evolution.tree.MigrationModelVolz" popSizes="@popSizes.t:126G_output" rateMatrix="@rateMatrix.t:126G_output" typeSet="@typeSet.t:126G_output">
                    <parameter id="rateMatrixScaleFactor.t:126G_output" estimate="false" name="rateMatrixScaleFactor">1.0</parameter>
                    <parameter id="popSizesScaleFactor.t:126G_output" estimate="false" name="popSizesScaleFactor">1.0</parameter>
                </migrationModelVolz>
            </distribution>
            <prior id="MeanRatePrior.c:126G_output" name="distribution" x="@ucldMean.c:126G_output">
                <LogNormal id="LogNormalDistributionModel.3" name="distr">
                    <parameter id="RealParameter.14" estimate="false" name="M">1.0</parameter>
                    <parameter id="RealParameter.15" estimate="false" lower="0.0" name="S" upper="5.0">1.25</parameter>
                </LogNormal>
            </prior>
            <prior id="ucldStdevPrior.c:126G_output" name="distribution" x="@ucldStdev.c:126G_output">
                <Gamma id="Gamma.0" name="distr">
                    <parameter id="RealParameter.8" estimate="false" name="alpha">0.5396</parameter>
                    <parameter id="RealParameter.9" estimate="false" name="beta">0.3819</parameter>
                </Gamma>
            </prior>
        </distribution>
        <distribution id="likelihood" spec="util.CompoundDistribution">
            <distribution id="treeLikelihood.126G_output" spec="TreeLikelihood" data="@126G_output" tree="@Tree.t:126G_output">
                <siteModel id="SiteModel.s:126G_output" spec="SiteModel">
                    <parameter id="mutationRate.s:126G_output" estimate="false" name="mutationRate">1.0</parameter>
                    <parameter id="gammaShape.s:126G_output" estimate="false" name="shape">1.0</parameter>
                    <parameter id="proportionInvariant.s:126G_output" estimate="false" lower="0.0" name="proportionInvariant" upper="1.0">0.0</parameter>
                    <substModel id="hky.s:126G_output" spec="HKY" kappa="@kappa.s:126G_output">
                        <frequencies id="empiricalFreqs.s:126G_output" spec="Frequencies" data="@126G_output"/>
                    </substModel>
                </siteModel>
                <branchRateModel id="RelaxedClock.c:126G_output" spec="beast.evolution.branchratemodel.UCRelaxedClockModel" clock.rate="@ucldMean.c:126G_output" rateCategories="@rateCategories.c:126G_output" tree="@Tree.t:126G_output">
                    <LogNormal id="LogNormalDistributionModel.c:126G_output" S="@ucldStdev.c:126G_output" meanInRealSpace="true" name="distr">
                        <parameter id="RealParameter.7" estimate="false" lower="0.0" name="M" upper="1.0">1.0</parameter>
                    </LogNormal>
                </branchRateModel>
            </distribution>
        </distribution>
    </distribution>
    <operator id="STX.t:126G_output" spec="multitypetreeVolz.operators.TypedSubtreeExchangeVolz" migrationModelVolz="@migModel.t:126G_output" multiTypeTree="@Tree.t:126G_output" weight="10.0"/>
    <operator id="TWB.t:126G_output" spec="multitypetreeVolz.operators.TypedWilsonBaldingVolz" alpha="0.2" migrationModelVolz="@migModel.t:126G_output" multiTypeTree="@Tree.t:126G_output" weight="10.0"/>
    <operator id="MTU.t:126G_output" spec="multitypetreeVolz.operators.MultiTypeUniformVolz" includeRoot="true" migrationModelVolz="@migModel.t:126G_output" multiTypeTree="@Tree.t:126G_output" weight="10.0"/>
    <operator id="MTTS.t:126G_output" spec="multitypetreeVolz.operators.MultiTypeTreeScaleVolz" migrationModelVolz="@migModel.t:126G_output" multiTypeTree="@Tree.t:126G_output" scaleFactor="0.98" useOldTreeScaler="true" weight="10.0"/>
        <parameter idref="popSizes.t:126G_output"/>
        <parameterInverse idref="ucldMean.c:126G_output"/>
        <parameterInverse idref="rateMatrix.t:126G_output"/>
    <operator id="MTTUpDownScaleFactors.t:126G_output" spec="multitypetree.operators.MultiTypeTreeScale" migrationModelVolz="@migModel.t:126G_output" multiTypeTree="@Tree.t:126G_output" scaleFactor="0.98" useOldTreeScaler="true" weight="10.0"/>
    <operator id="KappaScaler.s:126G_output" spec="ScaleOperator" parameter="@kappa.s:126G_output" scaleFactor="0.5" weight="0.1"/>
    <operator id="ucldMeanScaler.c:126G_output" spec="ScaleOperator" parameter="@ucldMean.c:126G_output" scaleFactor="0.5" weight="1.0"/>
    <operator id="ucldStdevScaler.c:126G_output" spec="ScaleOperator" parameter="@ucldStdev.c:126G_output" scaleFactor="0.5" weight="3.0"/>
    <operator id="CategoriesRandomWalk.c:126G_output" spec="IntRandomWalkOperator" parameter="@rateCategories.c:126G_output" weight="10.0" windowSize="1"/>
    <operator id="CategoriesSwapOperator.c:126G_output" spec="SwapOperator" intparameter="@rateCategories.c:126G_output" weight="10.0"/>
    <operator id="CategoriesUniform.c:126G_output" spec="UniformOperator" parameter="@rateCategories.c:126G_output" weight="10.0"/>
    <operator id="rateMatrixScaler.t:126G_output" spec="ScaleOperator" parameter="@rateMatrix.t:126G_output" scaleFactor="0.8" weight="1.0"/>
    <operator id="popSizesScaler.t:126G_output" spec="ScaleOperator" parameter="@popSizes.t:126G_output" scaleFactor="0.8" weight="1.0"/>
    </operator>
    <logger id="tracelog" fileName="$(filebase).log" logEvery="10000">
        <log idref="posterior"/>
        <log idref="likelihood"/>
        <log idref="prior"/>
        <log idref="treeLikelihood.126G_output"/>
        <log id="treeHeight.t:126G_output" spec="beast.evolution.tree.TreeHeightLogger" tree="@Tree.t:126G_output"/>
        <log id="treeLength.t:126G_output" spec="multitypetree.util.TreeLengthLogger" tree="@Tree.t:126G_output"/>
        <log id="rootTypeLogger.t:126G_output" spec="multitypetreeVolz.util.TreeRootTypeLoggerVolz" structuredCoalescentTreeDensityVolz="@structuredCoalescent.t:126G_output"/>
        <log id="changeCounts.t:126G_output" spec="multitypetreeVolz.util.MigrationCountsLoggerVolz" density="@structuredCoalescent.t:126G_output"/>
        <log idref="popSizes.t:126G_output"/>
        <log idref="rateMatrix.t:126G_output"/>
        <log idref="kappa.s:126G_output"/>
        <log idref="ucldMean.c:126G_output"/>
        <log idref="ucldStdev.c:126G_output"/>
        <log id="rate.c:126G_output" spec="beast.evolution.branchratemodel.RateStatistic" branchratemodel="@RelaxedClock.c:126G_output" tree="@Tree.t:126G_output"/>
    </logger>
    <logger id="screenlog" logEvery="10000">
        <log idref="posterior"/>
        <log id="ESS.0" spec="util.ESS" arg="@posterior"/>
        <log idref="likelihood"/>
        <log idref="prior"/>
    </logger>
    <logger id="treelog.t:126G_output" fileName="$(filebase).$(tree).trees" logEvery="100000" mode="tree">
         <log idref="structuredCoalescent.t:126G_output"/>
    </logger>
</run>

</beast>



Alexei Drummond

unread,
Oct 25, 2018, 4:49:53 PM10/25/18
to beast...@googlegroups.com
Dear Carla,

This is the sort of error you will get when some of the XML tags in between the pair name aren't closed properly or there are extraneous close tags present in between.

In your case it looks like there is a </operator> tag without a matching <operator> tag preceding it in the XML snippet you have posted. Is this snippet hand-coded or generated by BEAUti?

Cheers
Alexei


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

Carla Mavian

unread,
Oct 25, 2018, 4:58:25 PM10/25/18
to beast...@googlegroups.com
Hi Alexei, 
I did the first xml with beauty and then hand change it to incorporate BASTA requirements. I might deleted involuntarily the <operator> one while I was changing those!
would be this one correct then?
Thanks so much for your fast reply!
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/eyjGYbZ-dRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users...@googlegroups.com.

Carla Mavian

unread,
Oct 25, 2018, 5:09:48 PM10/25/18
to beast...@googlegroups.com
I have re-run it correcting <operator> and now I have a new error and I am not sure how to proceed: 

Error 130 parsing the xml input file

This BEASTInterface (migModelInit.t:126G_output) has no input with name rateMatrixScaleFactor. Choose one of these inputs: rateMatrix,popSizes,nTypes,rateMatrixFlags

Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <state id='state'>
              <stateNode id='Tree.t:126G_output' spec='beast.evolution.tree.StructuredCoalescentMultiTypeTreeVolz'>
                  <migrationModelVolzVolz id='migModelInit.t:126G_output' spec='beast.evolution.tree.MigrationModelVolz'>

Tim Vaughan

unread,
Oct 25, 2018, 8:19:17 PM10/25/18
to beast...@googlegroups.com
Hi Carla,

 if the tutorial you're talking about is the one on the MultiTypeTree wiki, then this is probably because the tutorial there is out of date. I'm very sorry for this, the problem is that MTT has been improved/changed substantially since I wrote the MTT->BASTA tutorial, so the conversation process is quite a bit more complicated.  Instead you'll have to follow the instructions on the BASTA page or perhaps contact Nicola directly for information on how to set to the analysis.  I will (as I should have done already) post a note to this effect on the MTT wiki.

I hope this didn't waste to much of your time!

Tim

Carla Mavian

unread,
Oct 25, 2018, 9:38:09 PM10/25/18
to beast...@googlegroups.com
Tim
Indeed I was using the MTT tutorial, I will follow the BASTA page instructions as you say and if I don’t succeed I will contact Nicola, 
Hope to make it work :)
Thank you, 
Carla 

carla

unread,
Oct 26, 2018, 10:45:58 AM10/26/18
to beast-users
Dear Tim,

I have used the BASTA xml examples from the paper to create my own with my dataset, however I get this error:

Error 110 parsing the xml input file

validate and intialize error: Input 'nTypes' must be specified.


Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <init id='tree' spec='StructuredCoalescentMultiTypeTreeVolz'>
              <migrationModelVolz spec='MigrationModelVolz'>

Validation error when initializing object beast.evolution.tree.MigrationModelVolz (id null):
java.lang.IllegalArgumentException: Input 'nTypes' must be specified.
    at beast.core.Input.validate(Unknown Source)
    at beast.core.BEASTInterface.validateInputs(Unknown Source)
    at beast.util.XMLParser.createObject(Unknown Source)
    at beast.util.XMLParser.parseInputs(Unknown Source)
    at beast.util.XMLParser.createObject(Unknown Source)
    at beast.util.XMLParser.parseInputs(Unknown Source)
    at beast.util.XMLParser.createObject(Unknown Source)
    at beast.util.XMLParser.parseRunElement(Unknown Source)
    at beast.util.XMLParser.parse(Unknown Source)
    at beast.util.XMLParser.parseFile(Unknown Source)
    at beast.app.BeastMCMC.parseArgs(Unknown Source)
    at beast.app.beastapp.BeastMain.main(Unknown Source)

I then try to run the original xml from the paper (the ones that have BASTA in the title) and they also give me the same error using BEAST2 v2.5.0,

I have no clue on what to do. I woud really like to implement BASTA for my analysis since I have uneven sampling, and I would like to compare BASTA to the results obtained with BEAST1.


I checked the xml and nTypes is actually there, is there anywhere else where I should add nTypes?

Thanks for your help

here the xml:

<typeTraitSet spec='TraitSet' id='typeTraitSet' traitname="type"
value="126G_CD3-3A_T_29=T,126G_CD3-6A_T_29=T,126G_CD3-7A_T_29=T,126G_CD14-3-2_M_29=M,126G-cd3-2A-3_T_29=T,126G_114_T_29=T,126G_107_T_29=T,126G_122_M_29=M,126G_136_T_29=T,126G_105_T_29=T,126G_104_T_29=T,126G_99_T_29=T,126G_82_T_29=T,126G_48_M_29=M,126G_144_T_29=T,126G_143_T_29=T,126G_78-1_M_29=M,126G_139_M_29=M,126g_98_T_29=T,126g_71_T_29=T,126g_70_T_29=T,126g_65_T_29=T,126g_6-2_T_29=T,126g_8-1_T_29=T,126g_9-2_T_29=T,126G_75-1_M_29=M,126G_140_T_29=T,126G_132_T_29=T,126G_131_T_29=T,126G_119_M_29=M,126G_117_T_29=T,126G_100_T_29=T,126G_95_T_29=T,126G_94_M_29=M,126G_93_T_29=T,126G_91_T_29=T,126G_86_M_29=M,126G_69_T_29=T,126G_68_M_29=M,126G_66_T_29=T,126G_64_T_29=T,126G_32_M_29=M,126G_45_T_29=T,126G_40_T_29=T,126G_38_T_29=T,126G_44_M_29=M,126G_42_T_29=T">
     <taxa spec='TaxonSet' alignment='@alignment'/>
   </typeTraitSet>
  
      <timeTraitSet spec='TraitSet' id='timeTraitSet' traitname="date" units="day" value="126G_CD3-3A_T_29=29,126G_CD3-6A_T_29=29,126G_CD3-7A_T_29=29,126G_CD14-3-2_M_29=29,126G-cd3-2A-3_T_29=29,126G_114_T_29=29,126G_107_T_29=29,126G_122_M_29=29,126G_136_T_29=29,126G_105_T_29=29,126G_104_T_29=29,126G_99_T_29=29,126G_82_T_29=29,126G_48_M_29=29,126G_144_T_29=29,126G_143_T_29=29,126G_78-1_M_29=29,126G_139_M_29=29,126g_98_T_29=29,126g_71_T_29=29,126g_70_T_29=29,126g_65_T_29=29,126g_6-2_T_29=29,126g_8-1_T_29=29,126g_9-2_T_29=29,126G_75-1_M_29=29,126G_140_T_29=29,126G_132_T_29=29,126G_131_T_29=29,126G_119_M_29=29,126G_117_T_29=29,126G_100_T_29=29,126G_95_T_29=29,126G_94_M_29=29,126G_93_T_29=29,126G_91_T_29=29,126G_86_M_29=29,126G_69_T_29=29,126G_68_M_29=29,126G_66_T_29=29,126G_64_T_29=29,126G_32_M_29=29,126G_45_T_29=29,126G_40_T_29=29,126G_38_T_29=29,126G_44_M_29=29,126G_42_T_29=29"/>
            <taxonset idref="taxonsSet.t:126G"/>

   <!-- Substitution model (HKY) -->
   <siteModel spec="SiteModel" id="siteModel">
     <mutationRate spec='RealParameter' id="mutationRate" value="1.0"/>
     <substModel spec="HKY">
       <kappa spec='RealParameter' id="hky.kappa" value="1.0"/>
       <frequencies estimate="false" spec='Frequencies'>

      <frequencies id="empiricalFreqs.s:126G_output" spec="Frequencies" data="@126G_output"/>
       </frequencies>
     </substModel>
   </siteModel>
 
   <!-- Migration model -->
   <migrationModelVolz spec='MigrationModelVolz' id='migModel'>
     <rateMatrix spec='RealParameter' value="0.00001 1.0" dimension="2" id="rateMatrix"/>
     <popSizes spec='RealParameter' value="1.0" dimension="2" id="popSizes"/>
   </migrationModelVolz>
 
   <!-- Parameter priors -->
   <input spec='CompoundDistribution' id='parameterPriors'>
     <distribution spec='beast.math.distributions.Prior' x="@mutationRate">
       <distr spec='LogNormalDistributionModel' M="0.0" S="4.0"/>
     </distribution>

     <distribution spec='beast.math.distributions.Prior' x="@hky.kappa">
       <distr spec='LogNormalDistributionModel' M="0.0" S="4.0"/>
     </distribution>

   <!-- Parameter priors
     <distribution spec='beast.math.distributions.Prior' x="@rateMatrix">
       <distr spec='LogNormalDistributionModel' M="0.0" S="4.0"/>
     </distribution>  -->
    
     <distribution spec='beast.math.distributions.Prior' x="@rateMatrix">
       <distr spec='Exponential'/>
     </distribution>
    
     <distribution spec='beast.math.distributions.Prior' x="@popSizes">
       <distr spec="LogNormalDistributionModel"  M="0.0" S="4.0"/>
     </distribution>
   </input>
 
   <!-- Probability of sequence data given tree  -->
  
  
   <input spec='TreeLikelihood' id="treeLikelihood1">
     <data idref="alignment"/>
     <tree idref="tree"/>
     <siteModel idref='siteModel'/>   </input>
 
 
  
   <!-- Probability of tree given migration rates and population sizes -->

   <input spec='StructuredCoalescentTreeDensityVolz' id='treePrior'>
     <multiTypeTreeVolz idref="tree"/>
     <migrationModelVolz idref="migModel"/>
   </input>



   <run spec="MCMC" id="mcmc" chainLength="100000000" storeEvery="1000">
    
     <!-- initialize tree at random according to StCoal  -->

     <init spec='StructuredCoalescentMultiTypeTreeVolz' id='tree' nTypes="2">
         <migrationModelVolz spec='MigrationModelVolz'>
             <rateMatrix spec='RealParameter' value="0.00001 1.0" dimension="2"/>
             <popSizes spec='RealParameter' value="1.0" dimension="2"/>
         </migrationModelVolz>
         <trait idref='typeTraitSet'/>
         <trait idref='timeTraitSet'/>
     </init>

   
 
     <state>
    
       <stateNode idref="tree"/>
       <!--stateNode idref="rateIndicator"/-->
       <stateNode idref="rateMatrix"/>
       <stateNode idref="popSizes"/>
       <stateNode idref="mutationRate"/>
       <stateNode idref="hky.kappa"/>
       <stateNode idref="hky.freq"/>
     </state>
    
     <distribution spec='CompoundDistribution' id='posterior'>

       <distribution idref="treeLikelihood1"/>
       <distribution idref="treeLikelihood2"/>
       <distribution idref='treePrior'/>

       <distribution idref="parameterPriors"/>
     </distribution>

 
     <!-- parameter scaling operators -->

     <operator spec='ScaleOperator' id='RateScaler' scaleAll='True'
           parameter="@rateMatrix"
           scaleFactor="0.8" weight="3">
           <!--indicator spec='BooleanParameter' id="rateIndicator" value="false true" dimension="2"/-->
     </operator>
                         
     <operator spec="ScaleOperator" id="PopSizeScaler"
           parameter="@popSizes"
          scaleFactor="0.8" weight="3"/>


<!-- -->
     <operator spec="ScaleOperator" id="muRateScaler"
           parameter="@mutationRate"
           scaleFactor="0.8" weight="0.1"/>


     <operator spec='ScaleOperator' id='kappaScaler'
           parameter="@hky.kappa"
           scaleFactor="0.8" weight="0.1">
     </operator>

     <operator spec="DeltaExchangeOperator" id="freqExchanger"
           parameter="@hky.freq"
           delta="0.01" weight="0.1"/>

<!--  
     <operator spec="UpDownOperator" id="upDown" scaleFactor="0.8" weight="1">  
       <up idref="popSizes"/>
       <down idref="mutationRate"/>
       <down idref="rateMatrix"/>
     </operator>
        -->


     <!-- Multi-type tree operators -->
    
    
     <operator spec='TypedSubtreeExchangeVolz' id='STX' weight="10" multiTypeTree="@tree" migrationModel="@migModel"/>
     <operator spec="TypedWilsonBaldingVolz" id="TWB" weight="10" multiTypeTree="@tree" migrationModel="@migModel" alpha="0.2"/>
     <operator spec="MultiTypeUniformVolz" id="MTU" weight="10" multiTypeTree="@tree" includeRoot="true" rootScaleFactor="0.9"/>
     <operator spec="MultiTypeTreeScaleVolz" id="MTTS2" weight="10" multiTypeTree="@tree" scaleFactor="0.98" useOldTreeScaler="true"/>

          
      <!--    
     <operator spec="MultiTypeTreeScaleVolz" id="MTTS1"
           weight="10" multiTypeTree="@tree"
           scaleFactor="0.98" useOldTreeScaler="true">
         <parameter idref="popSizes"/>        
         <parameterInverse idref="rateMatrix"/>
         <parameterInverse idref="mutationRate"/>
     </operator>
          -->


     <!-- Loggers -->
    
     <logger logEvery="1000" fileName="Ebola_withBats_BASTA.log">

       <model idref='posterior'/>
       <log idref="posterior"/>
       <log spec='TreeRootTypeLoggerVolz' multiTypeTreeVolz='@tree'/>
       <log idref="rateMatrix"/>
       <log idref="popSizes"/>
       <!--log spec='MigrationCountsLoggerVolz' density='@treePrior'/-->
       <log idref="mutationRate"/>
       <log idref="hky.kappa"/>
     </logger>


<!-- Loggers-->
     <logger logEvery="10000" fileName="Ebola_withBats_BASTA.trees" mode="tree">
       <log idref="tree"/>
     </logger>


     <logger logEvery="100000">
       <model idref='posterior'/>
       <log idref="posterior"/>
       <log idref="rateMatrix"/>
       <!--       -->
       <log idref="popSizes"/>
      
       <log idref="mutationRate"/>
       <ESS spec='ESS' name='log' arg="@rateMatrix"/>
  <!--         <ESS spec='ESS' name='log' arg="@popSizes"/>  -->
     </logger>
    
    

   </run>
  
 </beast>
Thank you, 
Carla 


Tim

To unsubscribe from this group and stop receiving emails from it, send an email to beast-users+unsubscribe@googlegroups.com.
To post to this group, send email to beast-users@googlegroups.com.


-- 
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/eyjGYbZ-dRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users+unsubscribe@googlegroups.com.
To post to this group, send email to beast-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users+unsubscribe@googlegroups.com.

To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/eyjGYbZ-dRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users+unsubscribe@googlegroups.com.

Nicola de maio

unread,
Oct 27, 2018, 11:29:43 AM10/27/18
to beast-users
Hi Carla,

From what I can see, it seems that the problem is that nTypes should go in the next line, like for example:

<init spec='StructuredCoalescentMultiTypeTreeVolz' id='tree'>
<migrationModelVolz spec='MigrationModelVolz' nTypes="2">

Cheers,
Nicola
Thank you, 
Carla 


Tim

To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.

To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/eyjGYbZ-dRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users...@googlegroups.com.

To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.

To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/eyjGYbZ-dRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages