Get actual list of sequencers used for a library.
[htsworkflow.git] / htsworkflow / templates / geo_submission.soft
1 {% for name, value in series %}{{name}} = {{value}}
2 {% endfor %}!Series_platform_id = {{ platform_id }}
3 {% for row in samples %}
4 ^SAMPLE={{row.name}}
5 !Sample_type=SRA
6 !Sample_title={{row.name}}
7 !Sample_series_id = {{ series_id }}{% for run in row.run %}
8 !Sample_instrument_model = {{ run.sequencer_model }}{% endfor %}
9 !Sample_channel_count = 1
10 !Sample_organism_ch1 = {{ row.species_name }}
11 !Sample_taxid_ch1 = {{ row.taxon_id }}
12 !Sample_platform_id = {{ platform_id }}
13 !Sample_source_name_ch1={{row.cell}}
14 !Sample_library_strategy={{ row.experiment_type }}
15 !Sample_library_source={{row.library_source}}
16 !Sample_library_selection={{ row.library_selection }}
17 !Sample_growth_protocol_ch1={{ row.growthProtocol|safe }}
18 !Sample_extract_protocol={{ row.extractProtocol|safe }}
19 !Sample_data_processing={{ row.dataProtocol|safe }}
20 !Sample_molecule_ch1 = {{ row.extractMolecule }}
21 !Sample_characteristics_ch1 = labExpId: {{ row.library_id }}
22 !Sample_characteristics_ch1 = replicate: {{ row.replicate }}
23 {% if row.cell %}{% spaceless %}
24 !Sample_characteristics_ch1 = cell: {{ row.cell }}
25 {% endspaceless %}{% endif %}
26 {% if row.readType %}{% spaceless %}
27 !Sample_characteristics_ch1 = readType: {{ row.readType }}
28 {% endspaceless %}{% endif %}{% if row.antibody %}{% spaceless %}
29 !Sample_characteristics_ch1 = cell: {{ row.antibody }}
30 {% endspaceless %}{% endif %}{% for raw in row.raw %}
31 !Sample_raw_file_{{forloop.counter}}={{raw.filename}}
32 !Sample_raw_file_type_{{forloop.counter}}={{raw.file_type_label}}
33 !Sample_raw_file_checksum_{{forloop.counter}}={{raw.md5sum}}{% endfor %}{% for sup in row.supplimental %}
34 !Sample_supplementary_file_{{forloop.counter}}={{sup.filename}}
35 !Sample_supplementary_file_checksum_{{forloop.counter}}={{sup.md5sum}}
36 {% endfor %}{% endfor %}