tripal_bulk_loader_help.tpl.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <p>The bulk loader is a tool that Tripal provides for loading of data contained in tab
  2. delimited files. Tripal supports loading of files in standard formats (e.g. FASTA, GFF, OBO),
  3. but Chado can support a variety of different biological data types and there are often no
  4. community standard file formats for loading these data. For example, there is no file
  5. format for importing genotype and phenotype data. Those data can be stored in the feature,
  6. stock and natural diversity tables of Chado. The Bulk Loader was introduced in Tripal v1.1
  7. and provides a web interface for building custom data loader. In short, the site developer
  8. creates the bulk loader "template". This template can then be used and re-used for any tab
  9. delimited file that follows the format described by the template. Additionally, bulk loading
  10. templates can be exported allowing Tripal sites to share loaders with one another. Loading
  11. templates that have been shared are available on the Tripal website here:
  12. <?php print l('http://tripal.info/extensions/bulk-loader-templates', 'http://tripal.info/extensions/bulk-loader-templates');?>.</p>
  13. <br />
  14. <h3>General Usage</h3>
  15. <ol>
  16. <li><strong>Plan how to store your data.</strong>
  17. <br />This is the most important and often the most difficult step. This
  18. is because it requires familiarity with the Chado database schema and due to the
  19. flexibility of the schema, you may be able to store your data multiple ways. It is
  20. considered best practice to consult the GMOD website and the Chado community (via the
  21. <?php print l('gmod-schema mailing list', 'https://lists.sourceforge.net/lists/listinfo/gmod-schema');?>) when deciding how to store data.</li>
  22. <li><strong>Create a new Bulk Loading Template to map the columns from your data file to chado.</strong>
  23. <br />Creating a new template can be done by clicking on the "Templates" tab above
  24. and then the "Add Template" link. Note that the template is designed with a single line
  25. from your file in mind. Furthermore, the term "record" refers to a single entry in chado
  26. and the term "field" refers to a column in a specific chado table.</li>
  27. <li><strong>Create a Bulk Loader Job with file-specific details that uses your template to load a
  28. specific file.</strong>
  29. <br />Create a Bulk Loading Job by clicking on the "Jobs" tab above and then "Add Bulk
  30. Loading Job". Remember to select the template you just created and to ensure that you
  31. provide the absolute path to the file. Note: The file must already be uploaded to the
  32. same server as your Drupal installation and must be readable by the command-line
  33. user who executes the tripal job.</li>
  34. </ol>
  35. <p>For the full tutorial, see the <?php print l('Tripal User Manual: The Bulk Loader', 'http://tripal.info/node/109');?>.</p>