Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: - Updating to PICRUSt2-v2.6.0 to work with new PICRUSt2-MPGA database. Please see [Wiki page](https://github.com/picrust/picrust2/wiki/PICRUSt2%E2%80%90MPGA-database) for full details. - New PICRUSt2-MPGA database contains separate reference files and annotations for bacteria and archaea. - New default workflow: - Previous place sequences step is split to placing in bacterial and archaeal reference trees by default. - Hidden state prediction is run separately for 16S for bacteria and archaea to determine NSTI for all sequences for both reference sets. The best-fitting domain for each sequence is then chosen (based on lowest NSTI) and the files are filtered to contain only those that fit the best. - Hidden state prediction is then run for KOs and EC numbers for both bacteria and archaea. - Combine bacterial and archaeal predictions for KOs and EC numbers. - Closest reference genome is now given for all sequences. All squashed commits: * Add new reference files Add new reference files - separate files for bacteria and archaea * Add check for duplicated IDs in the input FASTA Previously, there was a check that looked for overlap between all ASVs in the input FASTA and the feature table, but there were downstream errors that could be caused by having duplicated sequence IDs in the input fasta. This fix adds a check that no sequence IDs in the input FASTA appear more than once. * Update files - Zipped default file that was previously unzipped - Added metacyc reaction mapping pathways (modified from HUMAnN3) - Added line to castor_hsp.R that ensures no issues running maximum parsimony method even if edge lengths of tree have zeroes * Split domains and new default files Some new scripts have been added: - default_split.py: locations of new default files for when we're running bacteria/archaea separately - split_domains.py: functions for choosing the best domain for each sequence based on which has the lowest NSTI - pick_best_domain.py: wrapper for picking the best domain to use for each sequence when we're running bacteria/archaea separately. Note that this would be run between hsp.py with the 16S/marker gene file and running hsp.py with any other trait files - combine_domains.py: wrapper for combining functional predictions from hsp.py for when we're running multiple domains. This would be run before the metagenome_pipeline step - Functions in util.py have been added for steps like reading in and pruning the tree files * Add scripts for splitting to bacteria and archaea Update to add scripts for running both bacterial and archaeal predictions * Added requirement for ete3 Added requirement for ete3 to yaml file * Update pipeline_split.py Added check for when no sequences match with one of the domains * pipeline_split.py fix * Add information on bacterial and archaeal genomes * Add closest genome match to NSTI file * Fix genome ID * Fix genome name in NSTI file * Make add_descriptions_split.py and fix ko_name.txt.gz * Fix issue where script broke if skip_norm was set * Update version number * Updated scripts for two domains running each step individually * Changing names of PICRUSt2 scripts that run using the previous database * Revert back to previous file names * Update scripts to have oldIMG database option * Add archaea raxml_info file Note that this file still needs testing * Update arc_ref.raxml_info Archaea reference files now work with SEPP * Fix test files (still for working with oldIMG database currently) * Update to fix tests (still using oldIMG at this point) * Still trying to fix tests, still not updated to PICRUSt2-v2.6.0 * Update config options before push * Fixed test_workflow.py Added new -db flag to pathway_pipeline.py * Added necessary raxml_info files for use with SEPP for each of bacteria and archaea * Add raxml_info to default file * Update arc_ref.raxml_info * Update bac_ref.raxml_info * Update arc_ref.raxml_info * Remove DS_Store
- Loading branch information