{"id":13710072,"url":"https://github.com/realbigws/cwDTW","last_synced_at":"2025-05-06T18:33:56.434Z","repository":{"id":85196874,"uuid":"108973799","full_name":"realbigws/cwDTW","owner":"realbigws","description":"Continuous Wavelet Dynamic Time Warping for unbalanced global mapping of two signals","archived":false,"fork":false,"pushed_at":"2019-01-14T17:54:29.000Z","size":1509,"stargazers_count":19,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T23:17:18.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realbigws.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-31T09:29:49.000Z","updated_at":"2024-03-10T14:17:43.000Z","dependencies_parsed_at":"2023-03-27T16:18:08.734Z","dependency_job_id":null,"html_url":"https://github.com/realbigws/cwDTW","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realbigws%2FcwDTW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realbigws%2FcwDTW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realbigws%2FcwDTW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realbigws%2FcwDTW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realbigws","download_url":"https://codeload.github.com/realbigws/cwDTW/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521515,"owners_count":17325250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T23:00:51.533Z","updated_at":"2024-11-13T20:31:00.887Z","avatar_url":"https://github.com/realbigws.png","language":"C","funding_links":[],"categories":["Software packages"],"sub_categories":["Adaptive sampling / ReadUntil Real-time mapping / signal mapping"],"readme":"#==========\n# Abstract:\n#==========\n\nTitle:\n  cwDTW: Continuous Wavelet Dynamic Time Warping for unbalanced global mapping of two signals\n\nAuthor:\n  Renmin Han,\n  Yu Li,\n  Xin Gao,\n  Sheng Wang\n\nContact email:\n  xin.gao@kaust.edu.sa\n  realbigws@gmail.com\n\nReference:\n   https://academic.oup.com/bioinformatics/article-abstract/34/17/i722/5093233\n\n\n\n#=========\n# Install:\n#=========\n\n./install.sh\n\n\n#=======\n# Usage:\n#=======\n\n#---- type ----#\n./cwDTW -h\n\n\n#---- usage ---#\n----------- cwDTW ----------\nversion v0.03 (OCT 22 2017)\n-------------------------------------------------------------\nrequired:\n[-i SHORT SIGNAL][-p LONG SIGNAL][-o OUTPUT]\noptional:\n([-r RADIUS])([-l LEVEL])([-s SCALE])\n-------------------------------------------------------------\n**** required: ******\nSHORT SIGNALE: (reference) sequence signal from ATCG...;\nLONG SIGNAL:   (nanopore) raw electrical current signal;\nOUTPUT:   signal mapping result; if not specified, then no output be generated;\n**** key parameters: ******\nRADIUS:   warp search radius (default 50);\nLEVEL:    sampling level in continous wavelet (default 3);\nSCALE:    base scale in continous wavelet (default sqrt(2));\n\n\n\n\n#===============\n# Screen output:\n#===============\n\n                  1                                    2                       3         4     5\n-------------------------------------------------------------------------------------------------------\n002a08b9-0248-4929-9759-2d5c0942076d 002a08b9-0248-4929-9759-2d5c0942076d 22089.546144 127006 0.173925\n\n---------\n[Legend]:\n---------\n\nthe 1st column shows the name of the first input signal,\nthe 2nd column shows the name of the second input signal,\n\nthe 3rd column shows the overall distance after Dynamic Time Warping (DTW),\nthe 4th colmnn shows the length of the warping path (or, length of alignment),\n\nthe 5th column shows the normalized distance of a warping path.\n\n\n\n\n#===============\n# Output format:\n#===============\n\n         1          2                3               4             5               6                            7\n------------------------------------------------------------------------------------------------------------------------\n         1          1 |             316             550 |        -1.16628         1.04565          diff:        2.21193\n         2          2 |             347             433 |       -0.526507       -0.560209          diff:       0.033702\n         3          3 |             319             411 |        -1.10436       -0.862165          diff:       0.242199\n         3          4 |             319             409 |        -1.10436       -0.889616          diff:       0.214749\n         3          5 |             319             408 |        -1.10436       -0.903341          diff:       0.201023\n         3          6 |             319             389 |        -1.10436        -1.16412          diff:      0.0597573\n         3          7 |             319             389 |        -1.10436        -1.16412          diff:      0.0597573\n         3          8 |             319             377 |        -1.10436        -1.32883          diff:       0.224461\n         3          9 |             319             391 |        -1.10436        -1.13667          diff:      0.0323067\n\n---------\n[Legend]:\n---------\n\nthe 1st column shows the mapping of the first position (e.g., on expected signal) starting from 1,\nthe 2nd column shows the mapping of the second position (e.g., on raw signal) starting from 1,\n\nthe 3rd column displays the original value of the first input signal (e.g., on expected signal),\nthe 4th column displays the original value of the second input signal (e.g., on raw signal),\n\nthe 5th column indicates the Z-normalized value of the first input signal (e.g., on expected signal),\nthe 6th column indicates the Z-normalized value of the second input signal (e.g., on raw signal),\n\nthe 7th column illustrates the absolute difference between the two Z-normalized values.\n\n\n\n#=========\n# Example:\n#=========\n\n#-\u003e 1. generate genome signal from DNA sequence via pore model.\n./seq2sig -i example/002a08b9-0248-4929-9759-2d5c0942076d.fasta -o 002a08b9-0248-4929-9759-2d5c0942076d.seqsig -s 1 -z 0\n\n#-\u003e 2. generate coarsening signal via peak-pick on CWT spectrum.\n./sig2peak -i example/002a08b9-0248-4929-9759-2d5c0942076d.seqsig -o 002a08b9-0248-4929-9759-2d5c0942076d.peak_seqsig -s 2.828 -z 1\n./sig2peak -i example/002a08b9-0248-4929-9759-2d5c0942076d.rawsig -o 002a08b9-0248-4929-9759-2d5c0942076d.peak_rawsig -s 22.715 -z 1  #-\u003e 22.715=2.828*126965/15807:wq\n\n#-\u003e 3. perform mapping between nanopore signal and genome signal.\n./cwDTW -i example/002a08b9-0248-4929-9759-2d5c0942076d.seqsig -p example/002a08b9-0248-4929-9759-2d5c0942076d.rawsig -o align_out\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealbigws%2FcwDTW","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealbigws%2FcwDTW","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealbigws%2FcwDTW/lists"}