A simple package to read in eager results.
Project description
pyEager
A simple package to read in eager results.
Available functions
compile_endogenous_table(): Creates a compiled table of endogenous DNA statistics from endorspy including all the information in the list of JSON file paths provided. Wrapsparse_endorspy_jsonon all provided JSON paths.parse_endorspy_json(): Read in the information in a single endorspy JSON file.
compile_damage_table(): Creates a compiled table of select DamageProfiler and mapDamage2 results from the list of DamageProfiler JSON files and/or mapDamage2 result directories provided. Ths resulting dataframe includes the number of reads analysed as well as the damage in the first 2 bp of either end of DNA molecules for each sample.collect_damageprofiler_results(): Collects the results from multiple damageprofiler JSON output files into a large dictionary containing all the results for each sample. This function wrapsparse_damageprofiler_jsonacross all provided JSON files.parse_damageprofiler_json(): Read in the information in a single damageprofiler JSON output file.
collect_mapdamage_results(): Collects the results from multiple mapDamage2 result directories into a large dictionary containing all the results for each sample. This function wrapsparse_mapdamage_resultsacross all provided result directories.parse_mapdamage_results(): Read in the information in a single mapDamage2 results directory. An additional parameterstandardise_colnamescan be used to standardise the column names of the resulting dataframe to match those generated byparse_damageprofiler_json.
compile_snp_coverage_table(): Creates a compiled table of SNP coverage results from the list of JSON files provided. Wrapsparse_snp_coverage_jsonacross all provided JSON filesparse_snp_coverage_json(): Read in the information in a single SNP coverage JSON file.
parse_sexdeterrmine_json(): Reads in the Sexdeterrmine output JSON into a dataframe.parse_nuclear_contamination_json(): Reads in the nuclear contamination output JSON into a dataframe.parse_eager_tsv(): Reads in the eager input TSV into a dataframe, with additional columns specifying what merging steps took place.infer_merged_bam_names(): Infer the names of eager output files based on the merging steps that took place.parse_general_stats_table(): Reads in the general stats table output of MultiQC into a dataframe.
Installation
Usage
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyEager-1.6.1.tar.gz
(8.8 kB
view details)
File details
Details for the file pyEager-1.6.1.tar.gz.
File metadata
- Download URL: pyEager-1.6.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa0f60b597a9997bdc5398c6126b65e7ee1660109c22caf06e09b15cefa8c84e
|
|
| MD5 |
190780ae915dfb9f775ee065e757f1ef
|
|
| BLAKE2b-256 |
cb1828bb5057518fbcf6110145465039a5499dcba4028ab664a4d458db525e85
|