This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0 instead.
NanoMethPhase
Phase long reads and CpG methylations from Oxford Nanopore Technologies.
Installation
Using pypi repository
pip install nanomethphase
Using conda
TBD
Creating a dedicated conda environment
Environment file available in the git repository
git clone https://jmgarant@svn.bcgsc.ca/bitbucket/scm/~vakbari/nanomethphase.git
cd nanomethphase
conda env create -f ens/environment.yaml
Quickstart
If you have your methylation call data and phased vcf file you can get the haplotype methylome via:
1- Processing and indexing methylation call file
nanomethphase methyl_call_processor -mc MethylationCall.tsv -t 20 | sort -k1,1 -k2,2n -k3,3n | bgzip > MethylationCall.bed.gz && tabix -p bed MethylationCall.bed.gz
2- Getting haplotype methylome:
nanomethphase phase -mc MethylationCall.bed.gz -o Test_methylome -of bam,methylcall,bam2bis -b sorted.bam -r hg38.fa -v Phased.vcf -t 64
You can select 3 output options:
bam: output phased bam files
methylcall: output phased methylation call and frequency files
bam2bis: output mock whole-genome bisulfite converted bam files
Full Tutorial
In order to get the phased methylome you also need the following third-party software:
Nanopolish : To call CpG methylation.
Clair or other variant callers: To call variants for your sample. Alternatively, you might already have variant calling data for example from Illumina sequencing.
WhatsHap: To phase single nucleotide variants.
Methylation Calling
1- indexing fastq file and fast5 files:
NOTE: Fastqs must be merged to a single file
nanopolish index -d /path/to/fast5s_directory/.fastq
2- Methylation calling for CpG from each read:
nanopolish call-methylation -t <number of threads> -q cpg -r /path/to/fastq_fromstep-1/fastq.fastq -b /path/to/sorted_and_indexed/bam.bam -g /path/to/reference.fa > /path/to/MethylationCall.tsv
Phasing
Metadata
Release files for nanomethphase 0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nanomethphase-0.0.tar.gz | 30.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nanomethphase-0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.6 kB
Release files / nanomethphase-0.0.tar.gz
| Download URL | nanomethphase-0.0.tar.gz |
|---|---|
| Size | 30.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e1ef7bef7b6a6fb8d30ad7b1acce0c3690438e757dc1104753dd6f9a1e41277
|
|
BLAKE2b-256 checksum How to use checksums |
156b9391d1e4b42eb0f77746631b6126904fa5736b2131aef82fcf2a7d349f53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
|
Release files / nanomethphase-0.0-py3-none-any.whl
| Download URL | nanomethphase-0.0-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90fe30116a11803d0817693a5524429c12181e24b92c5e3ac45692c4737ff836
|
|
BLAKE2b-256 checksum How to use checksums |
5e15af48b11ecf27c637dfb9f17dcafde35c1d5445f8d6f754e3b3eff9c36036
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
|