Provides additional fields and data import which provide support for quantitative trait loci. Additionally, it integrates with Tripal Map through shared vocabulary terms and data storage models.
Clone this repository, install it and Tripal Map and spin up phpunit/tripaltestsuite: composer up
Load a fake map for testing purposes: ./vendor/bin/tripaltest db:seed GeneticMapSeeder
Run automated testing and ensure it passes: ./vendor/bin/phpunit
Create cvterms to match any traits you have in your test file. For tests/example_files/qtl.singletrait.tsv you would create a term with the name Days to Flowering. You can create cvterms through the UI at Admin > Tripal > Data Loaders > Controlled Vocabularies > Manage Chado CV Terms. Note the CV you create it in as you will have to select it in the importer.
In your site, go to Admin > Tripal > Data Loaders > QTL Importer. Choose your fake map created in step 2 and the CV you noted down in step 4.
Upload a test file of your choice or use tests/example_files/qtl.singletrait.tsv
Choose submit and run the Tripal Job
Go to Admin > Tripal > Data Storage > Chado > Materialized Views and sync both tripal_map_genetic_markers_mview and tripal_map_qtl_and_mtl_mview
View your QTL using Tripal Map at localhost/MapViewer
Thanks for the review. Unfortunately I cannot change the display name on Tripal Map as that is not my software. Since the loader worked perfectly for you, I'm going to merge this PR.
This importer adds QTL data to an existing map.
Testing
composer up
./vendor/bin/tripaltest db:seed GeneticMapSeeder
./vendor/bin/phpunit
tests/example_files/qtl.singletrait.tsv
you would create a term with the nameDays to Flowering
. You can create cvterms through the UI at Admin > Tripal > Data Loaders > Controlled Vocabularies > Manage Chado CV Terms. Note the CV you create it in as you will have to select it in the importer.tests/example_files/qtl.singletrait.tsv
tripal_map_genetic_markers_mview
andtripal_map_qtl_and_mtl_mview
localhost/MapViewer