Closed sdash-github closed 6 years ago
TEMPORARY: SQL to get dataset acc_no starting with genus+spp (available in sp-sheet). Cicer, as always, is the pain-in-the-neck. $ psql -c "SELECT od.accession_no FROM ongenome.dataset AS od WHERE od.genome_id IN (SELECT og.genome_id FROM ongenome.genome AS og WHERE og.organism_id IN (SELECT oo.organism_id from ongenome.organism AS oo WHERE oo.genus='Cicer' AND oo.species='arietinum'))" cicar1 cicar2
TO DO: Review; update repo, etc. before closing.
Now functional in lis-stage. The following files were modified to accomplish this: lis_expression_all_summary.tpl.php : id attribute added for linking to datasets. lis_species_resources.module : queries ongenome with genus-species to list available datasets with link to expression-summary-page. Done
The species page shows most resources available at LIS for each species except expression datasets. We have expr data available for cajca, cicar, phavu, vigun. These items in species page should show the datasets available. Add code to the module to get this info as links?? (To get the link to a gene page for a dataset would be challenging as it needs exemplar)