Skip to content

Commit

Permalink
add genome ID length requirement in PDOP schema
Browse files Browse the repository at this point in the history
This will make sure that input genome IDs cannot be empty string.
  • Loading branch information
CunliangGeng committed Oct 31, 2023
1 parent a530342 commit aefadc3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/nplinker/schemas/podp_adapted_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,20 @@
"GenBank_accession": {
"type": "string",
"title": "GenBank accession number",
"description": "If the publicly available genome got a GenBank accession number assigned, e.g., <a href=\"https://www.ncbi.nlm.nih.gov/nuccore/AL645882\" target=\"_blank\" rel=\"noopener noreferrer\">AL645882</a>, please provide it here. The genome sequence must be submitted to GenBank/ENA/DDBJ (and an accession number must be received) before this form can be filled out. In case of a whole genome sequence, please use master records. At least one identifier must be entered."
"description": "If the publicly available genome got a GenBank accession number assigned, e.g., <a href=\"https://www.ncbi.nlm.nih.gov/nuccore/AL645882\" target=\"_blank\" rel=\"noopener noreferrer\">AL645882</a>, please provide it here. The genome sequence must be submitted to GenBank/ENA/DDBJ (and an accession number must be received) before this form can be filled out. In case of a whole genome sequence, please use master records. At least one identifier must be entered.",
"minLength": 1
},
"RefSeq_accession": {
"type": "string",
"title": "RefSeq accession number",
"description": "For example: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://www.ncbi.nlm.nih.gov/nuccore/NC_003888.3\">NC_003888.3</a>"
"description": "For example: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://www.ncbi.nlm.nih.gov/nuccore/NC_003888.3\">NC_003888.3</a>",
"minLength": 1
},
"JGI_Genome_ID": {
"type": "string",
"title": "JGI IMG genome ID",
"description": "For example: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://img.jgi.doe.gov/cgi-bin/m/main.cgi?section=TaxonDetail&page=taxonDetail&taxon_oid=641228474\">641228474</a>"
"description": "For example: <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://img.jgi.doe.gov/cgi-bin/m/main.cgi?section=TaxonDetail&page=taxonDetail&taxon_oid=641228474\">641228474</a>",
"minLength": 1
}
}
},
Expand Down

0 comments on commit aefadc3

Please sign in to comment.