Have questions? Visit https://www.reddit.com/r/SNPedia

Promethease/xml

From SNPedia

Paid Promethease runs include an XML which captures your settings (ethnicity, location of your file, etc). If you need to run a lot of promethease reports, you can adapt this file to automate the work for future runs.

Promethease understands an XML format. This can be used to run large batches in predefined configurations. It is only available in paid runs. Generate a file like one of these and give it a filename ending in .xml. Then feed it into Promethease.

Mac minimal

<?xml version="1.0" encoding="UTF-8" ?>
<promethease>

  <run>
    <infile>/Users/cariaso/Downloads/genome_Lilly_Mendel_Mom__Full_20110426095409.zip</infile>
    <ethnicity>CEU</ethnicity>
    <outfile>/Users/cariaso/Documents/lilly1.html</outfile>
  </run>

</promethease>

This one uses Windows style filenames. It generates two reports and therefore costs $4 to run.

<?xml version="1.0" encoding="UTF-8" ?>
<promethease>


  <run>
    <infile>C:\Documents and Settings\Administrator\Desktop\genome_Hong_ChangBum_Full_20100816082459.zip</infile>
    <ethnicity>CHB</ethnicity>
    <outfile>C:\Documents and Settings\Administrator\Desktop\results\genome_Hong_ChangBum_Full_20100816082459.html</outfile>
  </run>


  <run>
    <infile>
      C:\Documents and Settings\Administrator\Desktop\genome_Lilly_Mendel_Mom__20080505171156.zip 
    </infile>

    <ethnicity>CEU</ethnicity>

    <outfile>
      C:\Documents and Settings\Administrator\Desktop\results\genome_Lilly.html
    </outfile>
  </run>

</promethease>


You can also specify F1 files

<?xml version="1.0" encoding="UTF-8" ?>
<promethease>

  <run>

    <infile>/Users/cariaso/dev/bots/insiders/inputs/my-23andme-results.zip</infile>

    <ethnicity>CEU</ethnicity>

    <f1file>
       /Users/cariaso/dev/bots/insiders/inputs/my-husbands-23andme-results.zip
    </f1file>

    <f1file>
       /Users/cariaso/dev/bots/insiders/inputs/my-son-23andme-results.zip
    </f1file>

    <f1file>
       /Users/cariaso/dev/bots/insiders/inputs/my-daughter-23andme-results.zip
    </f1file>

    <outfile>
       /Users/cariaso/Desktop/promethease/outputs/batch/my-report.html
    </outfile>
  </run>

</promethease>