Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map host genus and host type #39

Closed
DOH-LMT2303 opened this issue Nov 2, 2024 · 3 comments · Fixed by #42
Closed

Map host genus and host type #39

DOH-LMT2303 opened this issue Nov 2, 2024 · 3 comments · Fixed by #42
Assignees

Comments

@DOH-LMT2303
Copy link
Collaborator

DOH-LMT2303 commented Nov 2, 2024

WNV NCBI records contain a column Host which has some information about the genus and species (i.e Culex pipiens). Create two categories to group and visualize the data in auspice. One category with the genus (i.e. Culex) to group all species under that genus, and another category with a host type (i.e mosquito). Similar categories have been incorporated in other WNV builds: WNV-Foco and WNV-Global

@DOH-LMT2303 DOH-LMT2303 self-assigned this Nov 2, 2024
@DOH-LMT2303
Copy link
Collaborator Author

Downloaded metadata for 23,333 WNV sequences available in NCBI as of 11-1-2024. Explored and wrangled the data in R. Added two columns Host_Genus and Host_Type to the dataset excluding where Host is blank

@DOH-LMT2303
Copy link
Collaborator Author

Created a csv mapping file that contains three columns, Host from NCBI download as of 11-1-2024, Host_Genus which is populated with the first word of the Host column, and Host_Type which classifies Host_Genus as either Mosquito, Bird, Tick, Horse, Human, or Other.
WNVhostgenus_hosttype.csv

@j23414
Copy link
Collaborator

j23414 commented Nov 7, 2024

Thanks @DOH-LMT2303! Mind converting the csv to a tsv and placing the file in the ingest/defaults folder? Can commit to created branch map-host-genus-and-host-type.

After which we can draft a generalized transform-new-columns script that takes any mapping file and apply them to the metadata.tsv. Thanks for sharing your R code offline! We may be able to use parts of it as a starting point for the python script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants