aboutsummaryrefslogtreecommitdiff
path: root/scripts/from_genbank_to_fasta_and_yaml.py
AgeCommit message (Collapse)Author
2020-06-22moved the genbank script in his specific directoryAndreaGuarracino
2020-06-22little fix for specimen_sourceAndrea Guarracino
2020-06-12species are managed in another dictionary, try-catch added to avoid ↵Andrea Guarracino
unexpected stops
2020-06-07the script is more verbose; added other countriesAndreaGuarracino
2020-06-06fixed collection_location when it is not present in the dictionary termsAndreaGuarracino
2020-06-06fixed collection-date management using a parserAndreaGuarracino
2020-06-06fixed collection-date management; updated assembly info management for new IDsAndreaGuarracino
2020-05-31Added new species and specimen sourcesAndrea Guarracino
2020-05-31Updated the host_sex and host_age managementAndrea Guarracino
2020-05-31The NCBI Virus entries are updated automaticallyAndrea Guarracino
2020-04-30fixed UO_0000036 for yearAndrea Guarracino
2020-04-30Merge pull request #41 from AndreaGuarracino/patch-14LLTommy
the date is now handled more formally (YYYY-MM-DD)
2020-04-30Wrap import script to run as a workflowPeter Amstutz
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
2020-04-29the date is now handled more formallyAndrea Guarracino
all the date are saved as "YYYY-MM-DD"
2020-04-28updated to manage list fields and added new control on nasopharyngeal/throat ↵Andrea Guarracino
swab
2020-04-28Changes to the structure - we use lists now instead of strings where it ↵lltommy
makes sense. This allows us to have multiple values where in makes sense
2020-04-23code cleaning, refactoring, submitter name and addressAndrea Guarracino
- additional_submitter_information for information not equal to name or address - added another check for coverage
2020-04-22code cleaning, checking and writing missing term on fileAndrea Guarracino
- the script checks for country and specimen_source - now the missing terms are written on a tsv file
2020-04-22Small changes all around, trying to make the importer/metadata betterlltommy
2020-04-21Tweak handling of "coverage" also fix typoPeter Amstutz
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
2020-04-21Working on NCBI importPeter Amstutz
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
2020-04-21Updated shex and manditory fields and stufflltommy
2020-04-19added 'np/op' control for specimen_sourceAndrea Guarracino
2020-04-19fixed missing variable and managed comma in dictsAndrea Guarracino
2020-04-18new script releaseAndrea Guarracino
- now the script is more gentle with the server, requesting metadata in batches, reducing the ovrall execution time; - in the YAML files are created field for sample_sequencing_technology, sample_sequencing_technology2, sample_sequencing_technology3, specimen_source, and specimen_source2; - in sequencing_coverage stuff like 'x', 'X', etc... is stripped, and the ',' replaced by '.'; - the script exploits the dictionaries in the /scripts/dict_ontology_standardization. Now I have used ncbi_specesman_source.csv, ncbi_sequencing_technology.csv, and ncbi_countries.csv. - in ncbi_sequencing_technology.csv I've added 'Oxford Nanopore' and 'MinION Oxford Nanopore' - for specimen_source, when there is one of 'NP/OP swab', 'nasopharyngeal and oropharyngeal swab', 'nasopharyngeal/oropharyngeal swab', or 'np/np swab', I put both of them.
2020-04-14Rename script/from_genbank_to_fasta_and_yaml.py to ↵Andrea Guarracino
scripts/from_genbank_to_fasta_and_yaml.py