Update multi_species_genomes.py
Browse files- multi_species_genomes.py +8 -2
multi_species_genomes.py
CHANGED
@@ -37,7 +37,11 @@ _CITATION = """\
|
|
37 |
|
38 |
# You can copy an official description
|
39 |
_DESCRIPTION = """\
|
40 |
-
|
|
|
|
|
|
|
|
|
41 |
"""
|
42 |
|
43 |
_HOMEPAGE = "https://www.ncbi.nlm.nih.gov/"
|
@@ -111,6 +115,7 @@ class MultiSpeciesGenomes(datasets.GeneratorBasedBuilder):
|
|
111 |
"description": datasets.Value("string"),
|
112 |
"start_pos": datasets.Value("int32"),
|
113 |
"end_pos": datasets.Value("int32"),
|
|
|
114 |
}
|
115 |
)
|
116 |
return datasets.DatasetInfo(
|
@@ -174,6 +179,7 @@ class MultiSpeciesGenomes(datasets.GeneratorBasedBuilder):
|
|
174 |
'sequence': chunk_sequence,
|
175 |
'description': description,
|
176 |
'start_pos': start_pos,
|
177 |
-
'end_pos': end_pos
|
|
|
178 |
}
|
179 |
key += 1
|
|
|
37 |
|
38 |
# You can copy an official description
|
39 |
_DESCRIPTION = """\
|
40 |
+
Datset made of diverse genomes available on NCBI and coming from ~850 different species.
|
41 |
+
Test and validation are made of 50 species each. The rest of the genomes are used for training.
|
42 |
+
Default configuration "6kbp" yields chunks of 6.2kbp (100bp overlap on each side). Similarly,
|
43 |
+
the "12kbp"configuration yields chunks of 12.2kbp. The chunks of DNA are cleaned and processed so that
|
44 |
+
they can only contain the letters A, T, C, G and N.
|
45 |
"""
|
46 |
|
47 |
_HOMEPAGE = "https://www.ncbi.nlm.nih.gov/"
|
|
|
115 |
"description": datasets.Value("string"),
|
116 |
"start_pos": datasets.Value("int32"),
|
117 |
"end_pos": datasets.Value("int32"),
|
118 |
+
"fasta_url": datasets.Value("string")
|
119 |
}
|
120 |
)
|
121 |
return datasets.DatasetInfo(
|
|
|
179 |
'sequence': chunk_sequence,
|
180 |
'description': description,
|
181 |
'start_pos': start_pos,
|
182 |
+
'end_pos': end_pos.
|
183 |
+
'fasta_url': file + '.fna.gz'
|
184 |
}
|
185 |
key += 1
|