ismQuestions.GeneMetrics">Gene Metrics Table</a> summarizes the number of genes for the organisms currently available in TrichDB, by various datatypes.
</ul></div></td></tr></table>
  

  
  
  

  <a name="newsText4"/>
  <a name="advisors"/>
  <table border="0" cellpadding="2" cellspacing="0" width="100%">

  <tr><td colspan="2"><hr></td></tr>
  <tr class="rowLight"><td>
    <b>Scientific Advisory Team</b><br><br>Our thanks to previous advisors: 
<div id="cirbulletlist">
<ul>
<li><NAME>
<li><NAME>.
</ul></div></td></tr></table>
  

  
  
  

  <a name="newsText5"/>
  <a name="funding"/>
  <table border="0" cellpadding="2" cellspacing="0" width="100%">

  <tr><td colspan="2"><hr></td></tr>
  <tr class="rowLight"><td>
    <b>Funding</b><br><br>TrichDB is a member of pathogen-databases that are housed under 
the NIAID-funded <a href="http://www.eupathdb.org">EuPathDB</a> 
Bioinformatics Resource Center (BRC) umbrella. The EuPathDB team is 
mainly distributed between the University of Pennsylvania in 
Philadelphia, Pennsylvania and the University of Georgia in Athens, 
Georgia.</td></tr></table>
  

  
  
  

  <a name="newsText6"/>
  <a name="use"/>
  <table border="0" cellpadding="2" cellspacing="0" width="100%">

  <tr><td colspan="2"><hr></td></tr>
  <tr class="rowLight"><td>
    <b>Data Access Policy</b><br><br>The data at this site is provided freely for public use, through
the contributions of many researchers including those involved in
generating the genome sequences. The data is not guaranteed to be
accurate as it often reflects the results of ongoing research.
When using data obtained from TrichDB, it is important to cite
the original publications and contributors of that data and
TrichDB. Please see Citing TrichDB below.</td></tr></table>
  

  
  
  

  <a name="newsText7"/>
  <a name="privacy"/>
  <table border="0" cellpadding="2" cellspacing="0" width="100%">

  <tr><td colspan="2"><hr></td></tr>
  <tr class="rowLight"><td>
    <b>Website Privacy Policy</b><br><br>We do not use or share any of your personal information for any
       purpose unrelated to the functionality of the websites; however,
       we do collect some information to help us understand how our
       sites are being used and to improve community support. See the <a
       href="/documents/EuPathDB_Website_Privacy_Policy.shtml">
       Website Privacy Policy</a> for details.</td></tr></table>
  

  
  
  

  <a name="newsText8"/>
  <a name="citing"/>
  <table border="0" cellpadding="2" cellspacing="0" width="100%">

  <tr><td colspan="2"><hr></td></tr>
  <tr class="rowLight"><td>
    <b>Citing TrichDB</b><br><br>When citing TrichDB itself, please use:
<br><br>
<a href="http://www.ncbi.nlm.nih.gov/sites/entrez?db=pubmed&cmd=search&term=18824479">
GiardiaDB and TrichDB: integrated genomic resources for the eukaryotic protist pathogens Giardia lamblia and Trichomonas vaginalis.</a> 2009 Jan;37(Database issue):D526-30. Aurrecoechea C, et al.

<br><br>
When citing EuPathDB itself, please use:
<br>
<a href="http://www.ncbi.nlm.nih.gov/pubmed/27903906">
EuPathDB: the eukaryotic pathogen genomics database resource.</a>
2016 Nov 29. pii: gkw1105. [Epub ahead of print] Aurrecoechea C, et al.


<br><br>Much of the data in TrichDB is provided by independent
researchers.  Please cite them if you use their data.  For a list
of the data integrated into TrichDB and the related
publications please see <a
href="/a/app/search/dataset/AllDatasets/result"
class="blue"> Data Sets</a>.</td></tr></table>
  


Q: Is there a way to dynamically set mockedservices in the AppModule's providers? I have a pretty simple design with my AppModule definition.  I had a set of Mocked Services in my providers, which leveraged local data until my endpoints can get resolved.  I was slowly migrating them over as the service endpoints are stood up.  The issue is that the application is very requires some config to get the endpoints up and running, so i created a simple config file which created a property:  useMockedServices for people who want to use a demo.
{
  useMockedServices: true
}

BUT, my question is.  How do i take this configuration into account for the providers?
...
providers: [
  {provide: UserService, useClass: MockUserService},
 ...
],
...

Could I do something like:
providers: [
  { provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: { hasBackdrop: false }},
 ...
].concat( config.useMockedServices? [
  {provide: UserSerice, useValue: MockUserService},
 ...
]: [],

I tried to do just that but I am getting an error: No Overload matches this call and it says "The Types of property slice are incompatible"
providers: [
    // Default Options for using Modals / Dialogs.
    { provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: { hasBackdrop: false } },
    { provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true },
    { provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true },
    { provide: AuthGuard, useClass: AuthGuard },
    { provide: AuthenticationService, useClass: AuthenticationService }
  ].concat(
    configuration.useMockServices === true? [
    { provide: UserService, useClass: MockUserService },
   ...
    ] : []
  ),
...


A: You can use useFactory to do that:
function userServiceFactory() {
   return enviroment.useMockedServices? UserServiceMock : UserService;
}


...

providers: [
  {provide: UserService, useFactory: userServiceFactory},
 ...
]

or if you have the config into service.
function userServiceFactory(config: ConfigService) {
   return config.useMockedServices? UserServiceMock : UserService;
}


...

providers: [
  {provide: UserService, useFactory: userServiceFactory, deps:[ConfigService]},
 ...
]

Kaching! Sound familiar? Neal Postman wrote about this in 1985 in an important book titled: Amusing Ourselves to Death: Public Discourse in an Age of Television. The level of our national discourse, brought down several notches by Rush Limbaugh, Bill O-Reilly and the like, has never been lower. Whoever yells the loudest and spews the most outrageous venom with no responsibility for backing it up with anything so troublesome as fact nor inconvenient as caring or empathetic understanding gets the headline. And rises in the polls. Apparently “groveling shamelessly after the lowest common prejudices of the people” works wondrously—ie, the Trump campaign.
After the movie Selma, I did a little research on George Wallace, a hate-mongering presidential candidate around the time that I was eligible to vote and was fascinated to read of his later-life change of heart. And particularly took notice when he said that as a young politician talking about good schools and good roads, he was largely ignored when he spoke. But the moment he started tapping into people’s racial hatred and prejudices, the people lit up like the finale of 4th of July.
The saddest thing about the Trump fiasco—besides the shameless prostitution of media looking for the next sensation to keep the public stupefied and thoughtless—is the reality check on just how many people are eager and willing to go down the road of their worst selves. None of the psychopathic dem