Skip to content

Commit

Permalink
V1.2 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jiadong324 committed Jul 14, 2021
1 parent 5dbc704 commit c219d87
Show file tree
Hide file tree
Showing 13 changed files with 122 additions and 6,489 deletions.
2 changes: 1 addition & 1 deletion Mako.iml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="Python 3.6 (py36)" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" exported="">
<library>
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ Mako is a bottom-up guided model-free CSV detection tool. It first builds a muta

Please check the [wiki](https://github.com/xjtu-omics/Mako/wiki) page for more details.

## License

SVision is free for non-commercial use by academic, government, and non-profit/not-for-profit institutions. A commercial version of the software is available and licensed through Xi’an Jiaotong University.
For more information, please contact with Jiadong Lin ([email protected]) or Kai Ye ([email protected]).

## Install and run

Mako requires Java JDK (>=1.8), we provide a prebuilt JAR package **Mako.jar** for directly usage. See [Release](https://github.com/jiadong324/Mako/releases).
Mako requires Java JDK (>=1.8), we provide a prebuilt JAR package **Mako.jar** for directly usage.

**NOTE:** All results from the paper is made by **Mako.jar**, which is the beta version release.

Expand All @@ -27,19 +32,23 @@ Mako requires Java JDK (>=1.8), we provide a prebuilt JAR package **Mako.jar** f
```
# Configuration
python ParseMako.py config -b sample.bam -n 30000 -w ./working_dir/ -s sampleName -f /path/to/ref.fa.fai
```

```
# Detection
java -jar Mako.jar -R /path/to/ref.fa -F /path/to/sampleName.mako.cfg
```

# Convert to VCF format
```
# Convert to VCF format (optional)
python ParseMako.py tovcf -m sampleName_mako_calls.txt -o sampleName_mako.vcf -r /path/to/ref.fa -s sampleName
```

### Run demo data

```
# Create configuration file
python /path/to/process.py config -b NA19240.30X.chr20.1000K-2000K.bam -N 30000 -w ./working_dir/ -s NA19240 -f /ref.fa.fai
python ParseMako.py config -b NA19240.30X.chr20.1000K-2000K.bam -n 30000 -w ./working_dir/ -s NA19240 -f /demo.fa.fai
# Run Mako
java -jar /path/to/Mako.jar -R /path/to/GRCh38_full_analysis_set_plus_decoy_hla.fa -F /path/to/NA19240.mako.cfg
Expand Down
Loading

0 comments on commit c219d87

Please sign in to comment.