# HG changeset patch # User jetbrains # Date 1539338558 14400 # Node ID 13718f59d7207127d7e2bc828242bc35314e8510 # Parent 7140e1993b5bee34f76ce5c3cd66b125ba380604 Deleted selected files diff -r 7140e1993b5b -r 13718f59d720 cmeth.xml --- a/cmeth.xml Thu Nov 12 12:01:00 2015 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ - - BS-Seq analysis - - integration_jar - - - - - - - - #if $action.selection == "analyze" - cmeth_wrapper.py "${genome}" "${fdr}" analyze "${bam}" - #else - cmeth_wrapper.py "${genome}" "${fdr}" compare "${bam1}" "${bam2}" - #end if - - - - - - - - - - - - - - - - - - - - #if $action.selection == "analyze" - - #else - - #end if - - -Cmeth is a tool for analyzing and comparing cytosine methylation from WGBS (whole-genome bisulfite sequencing) data. -Both procedures rely on the nonparametric Bayesian switching HMM. -https://github.com/JetBrains-Research/cmeth - - diff -r 7140e1993b5b -r 13718f59d720 cmeth_wrapper.py --- a/cmeth_wrapper.py Thu Nov 12 12:01:00 2015 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -#!/usr/bin/env python - -import os -import sys -import subprocess - -argv = sys.argv[1:] -print 'Arguments {0}'.format(argv) - -# Check command -if len(argv) == 4: - genome, fdr, action, bam = argv - assert action == "analyze" -else: - genome, fdr, action, bam1, bam2 = argv - assert action == "compare" - -# Configure main jar path -jar = os.environ.get("INTEGRATION_JAR") -print 'Using JAR distributive file {0}'.format(jar) - -cmd = 'java -cp {0} org.jetbrains.bio.genestack.FastaToTwoBitCLA {1} reference.2bit'.format(jar, genome) -print 'Converting reference genome fasta to 2bit: {0}'.format(cmd) -subprocess.check_call(cmd, cwd=None, shell=True) - -# See https://github.com/JetBrains-Research/cmeth for command line options -if action == "analyze": - cmd = 'java -cp {0} org.jetbrains.bio.cmeth.CmethCLA ' \ - 'analyze -i {1} -r reference.2bit -fdr {2}'.format(jar, bam, fdr) -else: - cmd = 'java -cp {0} org.jetbrains.bio.cmeth.CmethCLA ' \ - 'compare -1 {1} -2 {2} -r reference.2bit -fdr {3}'.format(jar, bam1, bam2, fdr) -print 'Launching cmeth: {0}'.format(cmd) -subprocess.check_call(cmd, cwd=None, shell=True) diff -r 7140e1993b5b -r 13718f59d720 tool_dependencies.xml --- a/tool_dependencies.xml Thu Nov 12 12:01:00 2015 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ - - - - - - - http://teamcity.jetbrains.com/guestAuth/repository/download/Epigenome_Tools_Integration/lastSuccessful/integration-dev-all.jar - - . - $INSTALL_DIR/ - - - - $INSTALL_DIR/integration-dev-all.jar - - - - - Downloads epigenome integration JAR. - - -