https://github.com/ampliconsuite/ec-comparator
Compare amplicon sets across technologies and methods
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Repository
Compare amplicon sets across technologies and methods
Basic Info
- Host: GitHub
- Owner: AmpliconSuite
- Language: Python
- Default Branch: main
- Size: 6.2 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
EC-comparator
Comparing cycle decompositions across technologies and methods.
Installation
Please install python3.9 and run the following code to install all dependencies:
bash
cd AmpliconComparison
mamba env create -f environment.yml
conda activate comparator
python -m pip install -r requirements.txt
And build and install (for developers):
```bash python -m pip install build installer toml setuptools
cd EC-comparator python -m build python -m pip install --force-reinstall dist/EC-comparator-0.0.2-py3-none-any.whl ```
Usage
Run the following test:
bash
cd EC-comparator/AmpliconComparison
python main.py -a ../examples/ecdna1/true.bed \
-b ../examples/ecdna1/reconstructed.bed \
-d ../examples/ecdna1/output
Output description
bash
../examples/ecdna1/output/
|-- breakpoints_profile_s1.txt
|-- breakpoints_profile_s2.txt
|-- coverage_breakpoints_profile.png
|-- coverage_profile.png
|-- coverage_profile_s1.txt
|-- e1_coverage_profile.txt
|-- e2_coverage_profile.txt
|-- metrics.json
|-- report.html
|-- total_cost.png
|-- total_cost_table.png
Help
```bash usage: EC-comparator [-h] -a FIRSTSTRUCTURE -b SECONDSTRUCTURE -d OUTDIR [--plot | --no-plot] [--report | --no-report] [--cn-hamming-dist CNHAMMINGDIST] [--cn-cosine-dist CNCOSINEDIST] [--cn-jc-dist CNJCDIST] [--fragments-dist FRAGMENTS_DIST] [--cycles-dist CYCLESDIST] [--breakpoint-dist BREAKPOINTDIST]
EC-comparator - compare cycle sets
optional arguments: -h, --help show this help message and exit -a FIRSTSTRUCTURE, --first-structure FIRSTSTRUCTURE First structure (bed format) -b SECONDSTRUCTURE, --second-structure SECONDSTRUCTURE Second structure (bed format) -d OUTDIR, --outdir OUTDIR Output directory --plot, --no-plot Plot coverage profiles --report, --no-report Generate report (this will set 'plot' also on True) --cn-hamming-dist CNHAMMINGDIST Hamming distance between genomic footprint. Recommended when no copy-number information available (default: True) --cn-cosine-dist CNCOSINEDIST Cosine distance between the coverage profile. --cn-jc-dist CNJCDIST Min-max distance / Jaccard distance between the coverage profile. --fragments-dist FRAGMENTSDIST Quantify the distance between fragments. --cycles-dist CYCLESDIST Quantify the distance between cycles. --breakpoint-dist BREAKPOINT_DIST Quantify the distance between cycles.
```
License
tbd
Owner
- Name: AmpliconSuite
- Login: AmpliconSuite
- Kind: organization
- Website: https://ampliconrepository.org/
- Repositories: 13
- Profile: https://github.com/AmpliconSuite
A collection of related tools for studying focal amplifications in cancer genomes
GitHub Events
Total
- Watch event: 1
- Public event: 1
- Push event: 2
Last Year
- Watch event: 1
- Public event: 1
- Push event: 2
Dependencies
- dash ==2.12.1
- dash-core-components ==2.0.0
- distance ==0.1.3
- intervaltree ==3.1.0
- js.d3 ==3.5.5
- kaleido ==0.2.1
- matplotlib ==3.7.2
- networkx ==3.1
- numpy ==1.26.4
- pandas ==2.2.2
- pillow ==10.4.0
- plotly ==5.15.0
- pybedtools ==0.10.0
- pyranges ==0.0.129
- scikit-learn ==1.3.0
- scipy ==1.13.1
- seaborn ==0.12.2
- tenacity ==8.2.2
- toml ==0.10.2
- xhtml2pdf ==0.2.11