Skip to content

Adding support for existing Biosample #106

Description

@cgirardot

The tool currently does not support submitting data where the sample already exist in BioSample.
This could be achieved by adding an optional biosample column in the samples.tsv and modifying the ENA_template_samples_XYZ.xml

Reading theSRA.sample.xsd, it is unclear to me how to pass the biosample ref; would it be something like

<?xml version="1.0" encoding="UTF-8"?>
<SAMPLE_SET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ftp://ftp.sra.ebi.ac.uk/meta/xsd/sra_1_6/SRA.sample.xsd">
    <SAMPLE alias="mysample" center_name="Genomics Core Facility">
        <TITLE>my_sample</TITLE>
        <SAMPLE_NAME>
            <TAXON_ID>9606</TAXON_ID>
            <SCIENTIFIC_NAME>Homo sapiens</SCIENTIFIC_NAME>
        </SAMPLE_NAME>
        <DESCRIPTION>blah blah </DESCRIPTION>
	<SAMPLE_LINKS>
  		<SAMPLE_LINK>
                    <XREF_LINK>
                            <DB>biosample</DB>
                            <ID>289</ID>
                            <LABEL>SAMN00000289</LABEL>
                    </XREF_LINK>
		</SAMPLE_LINK>
	</SAMPLE_LINKS>
…
    </SAMPLE>
</SAMPLE_SET>

see xref example here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions