aboutsummaryrefslogtreecommitdiff
path: root/scripts/from_genbank_to_fasta_and_yaml.py
AgeCommit message (Collapse)Author
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