Skip to content

Commit 1af6be6

Browse files
committed
Conclude merge
2 parents 33a43cf + 3a530f9 commit 1af6be6

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Manojkumar Bhosale
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# MAutomaton
2+
3+
This is an attempt to tackle the daily tasks in NGS data analysis. This tool is written in Java Swing and has below features.
4+
5+
1. VCF comparison utility: To compare SNP, Indels, CNVs in VCF_4.2 format.
6+
2. Duplicate metrics utility: To calculate %duplicates from a BAM file.
7+
3. VCF Ts/Tv util: To calculate transition and transversion ratio from given VCF file
8+
4. Comparison of QC metrics in the form of .properties file.
9+
10+
11+
## How to use
12+
13+
### 1. VCF comparator
14+
15+
Prerequisite: **Java 1.8** or **_higher_**
16+
17+
#### Steps
18+
1. Right click on the jar file and open with java
19+
2. In **"VCF comparator"** tab select the VCF 1, VCF 2 files to compare.
20+
3. Click **"Compare"**
21+
4. Based on size of the VCF files it will take time to compare the VCF. in the mean time the UI will _freeze_ as its a single threaded application.
22+
5. After comparison is done the UI will update with the comparison results as displayed in below screenshot. The red colored cells indicate non-zero mismatches
23+
24+
25+
![alt text](https://github.com/manojbhosale/hello-world/blob/master/MAutomatonScreen.png "MAutomaton screen")
26+
27+
6. If you are interested to find out the actual mismatching and common variants in VCF format visit "C:\gatKAutomator\comparisonResults" directory of your computer, not to mentione you need to have read/write access to this location.The result VCF are named in following way,
28+
29+
* Common variants in both vcf: <VCF 1>_common.vcf
30+
* Insertion variants only in VCF 1: <VCF 1>_insOld.vcf
31+
* Insertion variants only in VCF 2: <VCF 2>_insNew.vcf
32+
* Deletion variants only in VCF 1: <VCF 1>_delOld.vcf
33+
* Deletion variants only in VCF 2: <VCF 2>_delNew.vcf
34+
* SNP variants only in VCF 1: <VCF 1>_snpOld.vcf
35+
* SNP variants only in VCF 2: <VCF 2>_snpNew.vcf
36+
37+
7. If you want ot compare another pair then just select those files and hit "Compare". The results will get appended in the table and the VCFs will get generated at the designated location.
38+
39+
8. If you have miltiple files to compare then use "Multiple files" option. the input is the tab separated mapping file of VCFs to caompare like below.
40+
create comparison.txt with below content. File paths need to be **_absolute paths_** of the VCFs.
41+
42+
c:\one.vcf c:\two.vcf
43+
44+
c:\a.vcf c:\b.vcf
45+
46+
c:\x.vcf c:\y.vcf

0 commit comments

Comments
 (0)