Difference between revisions of "Team:Uppsala/Model"

Line 186: Line 186:
 
          
 
          
 
  <div class="card-holder">                   
 
  <div class="card-holder">                   
                     <p> Due to excessive use of anthelmintics against various parasites in cattle, the resistance to anthelmintics in nematodes has grown and has become more extensive than the current situation in horses. [1] In the early stages of our project we knew that the current problems brought by small strongyles were not yet as extensive in Sweden. [2] Therefore we made a model of the growth of nematodes in horses and on pastures, to see the difference between regular use and an optimized use of anthelmintics. The mean usage of anthelmintics in sweden is 3.2 times per year, and there is no common time to use the anthelmintics. [3] However, the treatment occurence that was later used in the model, was information that was retrieved from our own conducted market analysis, which states that the most prevalent use of anthelmintics is two time per year. The optimized use would be to only use anthelmintics when it’s needed, e. g. when the amount of parasites in the horse exceeds a threshold. Some of the variables that the model takes in to account is the usage of anthelmintics and the amount of horses, the temperature dependence of the parasite egg to develop into a larva and the amount of horses on a pasture to receive the results. <br><br>
+
                     <p> Due to excessive use of anthelmintics against various parasites in cattle, the resistance to anthelmintics in nematodes has grown and has become more extensive than the current situation in horses [1]. In the early stages of our project we knew that the current problems brought by small strongyles were not yet as extensive in Sweden [2]. Therefore we made a model of the growth of nematodes in horses and on pastures, to see the difference between regular use and an optimized use of anthelmintics. The mean usage of anthelmintics in sweden is 3.2 times per year, and there is no common time to use the anthelmintics [3]. However, the treatment occurence that was later used in the model, was information that was retrieved from our own conducted market analysis, which states that the most prevalent use of anthelmintics is two time per year. The optimized use would be to only use anthelmintics when it’s needed, e. g. when the amount of parasites in the horse exceeds a threshold. Some of the variables that the model takes in to account is the usage of anthelmintics and the amount of horses, the temperature dependence of the parasite egg to develop into a larva and the amount of horses on a pasture to receive the results. <br><br>
  
                 The model was inspired by a model that looks into how effective anthelmintic treatments are on sheep at pasture.[4] Due to the overuse of anthelmintics in sheep, the efficiency of the medicines have decreased resulting in sheep dying of starvation because of the excessive amount of parasites in the gastro-intestinal area. This causes big economical losses for sheep owners.<br><br>
+
                 The model was inspired by a model that looks into how effective anthelmintic treatments are on sheep at pasture [4]. Due to the overuse of anthelmintics in sheep, the efficiency of the medicines have decreased resulting in sheep dying of starvation because of the excessive amount of parasites in the gastro-intestinal area. This causes big economical losses for sheep owners.<br><br>
 
              
 
              
 
                 With this model we intend to improve our worm buster project since it would prevent anthelmintics overuse by determining the optimal amount of treatments. This would be complementary to the worm buster, which helps avoid wrong dosage of anthelmintics while treating the horse. In combination both tools help to decrease the overuse of anthelmintics, and thus prevent resistance development.<br><br>
 
                 With this model we intend to improve our worm buster project since it would prevent anthelmintics overuse by determining the optimal amount of treatments. This would be complementary to the worm buster, which helps avoid wrong dosage of anthelmintics while treating the horse. In combination both tools help to decrease the overuse of anthelmintics, and thus prevent resistance development.<br><br>
Line 198: Line 198:
  
 
          
 
          
           <p> The model is built upon ordinary differential equations (equation 1 and 2). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in <b>table 1</b>. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario). [5] The months at which anthelmintics were used in the regular use, was set to April and October, which are two months when it's likely that a horse owner gives anthelmintics to its horse. [3] As mentioned before, the mean value of how many times horses get anthelmintics are 3.2, however in the calculations the chosen value was set to 2, because this was information that was received from our  <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>contucted survey</b></a>. The MATLAB code for the model can be found <a href="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--Anthelmintic_Model.pdf">here</a>.</p><br><br>
+
           <p> The model is built upon ordinary differential equations (equation 1 and 2). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in <b>table 1</b>. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario) [5]. The months at which anthelmintics were used in the regular use, was set to April and October, which are two months when it's likely that a horse owner gives anthelmintics to its horse [3]. As mentioned before, the mean value of how many times horses get anthelmintics are 3.2, however in the calculations the chosen value was set to 2, because this was information that was received from our  <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>contucted survey</b></a>. The MATLAB code for the model can be found <a href="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--Anthelmintic_Model.pdf">here</a>.</p><br><br>
  
 
<!--equation 1 and 2-->
 
<!--equation 1 and 2-->
Line 293: Line 293:
 
<br>
 
<br>
  
<p>Because the development of eggs to larvae are temperature dependent, a linear equation for calculating the probability of an egg to develop into a larva was created. The equation is based on information about how long it takes for an egg to develop into a larva. [6] This equation was created by first dividing all the given temperatures by the highest temperature. A linear regression was made with these values and the temperature. The probability of an egg to develop into a larva in the earlier mentioned study was at 0.0275. If this value is assumed to be the mean probability, then it’s 20 times smaller than the mean probability in this trend line that was received (equation 3). Therefore the constants in the equation was divided with 20 to match it. The temperature data was used was from the Uppsala Aut weather station measurement of mean temperatur during 2017. [7]</p><br><br>
+
<p>Because the development of eggs to larvae are temperature dependent, a linear equation for calculating the probability of an egg to develop into a larva was created. The equation is based on information about how long it takes for an egg to develop into a larva [6]. This equation was created by first dividing all the given temperatures by the highest temperature. A linear regression was made with these values and the temperature. The probability of an egg to develop into a larva in the earlier mentioned study was at 0.0275. If this value is assumed to be the mean probability, then it’s 20 times smaller than the mean probability in this trend line that was received (equation 3). Therefore the constants in the equation was divided with 20 to match it. The temperature data was used was from the Uppsala Aut weather station measurement of mean temperatur during 2017 [7].</p><br><br>
  
 
     <p> q &#61; (0.00342 &#215; T &#8722; 0.2411) &#215; 0.05 (Equation 3)</p><br><br>
 
     <p> q &#61; (0.00342 &#215; T &#8722; 0.2411) &#215; 0.05 (Equation 3)</p><br><br>
  
<p>&beta; is the amount of square meters grass a horse eats per day.  A horse eats approximately five times more than a sheep. [8][9] Beta decreases if the amount of parasites in the gastrointestinal area of the horse exceeds an amount that is non-detrimental to the horses health. The model takes into account a 70% decrease in food intake. [4] However, the only information about when a horse should be treated with anthelmintics is based on the egg count in horse feces and not on the amount of parasites in the horse. Therefore an arbitrary threshold was set to 100 000.</p><br><br>
+
<p>&beta; is the amount of square meters grass a horse eats per day.  A horse eats approximately five times more than a sheep [8, 9]. Beta decreases if the amount of parasites in the gastrointestinal area of the horse exceeds an amount that is non-detrimental to the horses health. The model takes into account a 70% decrease in food intake [4]. However, the only information about when a horse should be treated with anthelmintics is based on the egg count in horse feces and not on the amount of parasites in the horse. Therefore an arbitrary threshold was set to 100 000.</p><br><br>
  
<p>The constants &mu;, mortality rate of adult parasites, the mortality is set to 0.03, when anthelmintics is in use, the mortality changes to 0.99. &lambda;, mean rate at which an adult worm produced eggs and d, the probability of an larva to develop into a adult worm, were the same as in the model that served as inspiration for this one.[4]</p><br><br>
+
<p>The constants &mu;, mortality rate of adult parasites, the mortality is set to 0.03, when anthelmintics is in use, the mortality changes to 0.99. &lambda;, mean rate at which an adult worm produced eggs and d, the probability of an larva to develop into a adult worm, were the same as in the model that served as inspiration for this one [4].</p><br><br>
  
 
                      
 
                      
Line 362: Line 362:
 
     <p>In order to turn the results from the survey into usable data, we first needed to transform all the answers that were in text form to numerical form, and filter out incomplete values, as well. This was done to be able to analyse it further.
 
     <p>In order to turn the results from the survey into usable data, we first needed to transform all the answers that were in text form to numerical form, and filter out incomplete values, as well. This was done to be able to analyse it further.
  
         The survey consisted of several questions that gave answers as discrete data. If we instead, had worked with continuous data, a regression analysis could have been performed. [10] Now, when using discrete data, we needed to find a suitable way to handle this. We chose to use a type of discrete scatter plot with valued points and with histograms. [11] In the discrete scatter plots, the size of the points increases every time a coupling occurs, see an example of a plot in <b>figure 5</b>. In this case, a coupling refers to when a x and a y value exist together. In this way the importance of a couple can easily be visualized. To suspect a correlation, the largest sized points should appear in some kind of linear, exponential or other interesting pattern.  
+
         The survey consisted of several questions that gave answers as discrete data. If we instead, had worked with continuous data, a regression analysis could have been performed [10]. Now, when using discrete data, we needed to find a suitable way to handle this. We chose to use a type of discrete scatter plot with valued points and with histograms [11]. In the discrete scatter plots, the size of the points increases every time a coupling occurs, see an example of a plot in <b>figure 5</b>. In this case, a coupling refers to when a x and a y value exist together. In this way the importance of a couple can easily be visualized. To suspect a correlation, the largest sized points should appear in some kind of linear, exponential or other interesting pattern.  
 
</p>
 
</p>
 
                 </div>
 
                 </div>

Revision as of 22:06, 16 October 2018