diff --git a/README.md b/README.md index 75f550fdfc6c43c7a49ee5307fd59b0441e97ef5..128870c63743bca5d9315b6219eefc4bb1cfa1d9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # mir-prepare-annotation -[Snakemake] workflow to download and prepare the necessary files for smallRNA-seq related pipelines, currently [mir-map](https://git.scicore.unibas.ch/zavolan_group/pipelines/mir-map) and [mir-quant](https://git.scicore.unibas.ch/zavolan_group/pipelines/mir-quant). +[Snakemake] workflow to download and prepare the necessary files for +smallRNA-seq related pipelines +[mir-map](https://git.scicore.unibas.ch/zavolan_group/pipelines/mir-map) +and +[mir-quant](https://git.scicore.unibas.ch/zavolan_group/pipelines/mir-quant). The scheme below is a visual representation of an example run of the -workflow: +workflow: >  @@ -18,10 +22,19 @@ move into it with: git clone ssh://git@git.scicore.unibas.ch:2222/zavolan_group/pipelines/mir-prepare-annotation.git cd mir-prepare-annotation ``` + ### Setting up a virtual environment Workflow dependencies can be conveniently installed with the [Conda][conda] -package manager. We recommend that you install [Miniconda][miniconda-installation] for your system. +package manager. We recommend that you install +[Miniconda][miniconda-installation] for your system. + +For improved reproducibility and reusability of the workflow, as well as an +easy means to run it on a high performance computing (HPC) cluster managed, +e.g., by [Slurm][slurm], almost all steps of the workflow run in their own +container. As a consequence, running this workflow has very few individual +dependencies. It does, however, require that the container engine +[Singularity][singularity] is installed. Create and activate the environment with necessary dependencies with conda: @@ -30,69 +43,83 @@ conda env create -f environment.yml conda activate mir_pipelines ``` -For improved reproducibility and reusability of the workflow, as well as an -easy means to run it on a high performance computing (HPC) cluster managed, -e.g., by [Slurm][slurm], each individual step of the workflow runs in its own container. -Specifically, containers are created out of [Singularity][singularity] images -built for each software used within the workflow. As a consequence, running -this workflow has very few individual dependencies. It does, however, require -that [Singularity][singularity] to be installed. +> **NOTE:** If `singularity` is already installed on your system, which is, +> e.g., frequently the case in HPC environments, make sure to comment out or +> delete the corresponding line from `environment.yml` prior to the creation +> of the Conda environment. This will avoid conflicts. + +### Testing your installation + +Several tests are prepared to check the integrity of the workflow. -> **NOTE:** `Singularity` is automatically loaded on the sciCORE system. To avoid conflicts, comment out or delete `singularity` in the file `environment.yml` before you create the virtual environment. +Change into the test directory: -## Testing -Several tests are prepared to check the integrity of the workflow. -Move into `test/` directory: ```bash cd test/ ``` -## DAG and rule graph -Execute the following commands to generete DAG and rule graph images. Outputs will be found in `images/` folder. +#### DAG and rule graph + +Execute the following commands to generete DAG and rule graph images. Outputs +will be found in `images/` folder. + ```bash ./test_dag.sh ./test_rule_graph.sh ``` -### Run workflow on local machine + +#### Run workflow on local machine + Execute the following command to run the test workflow on your local machine: + ```bash ./test_workflow_local.sh ``` -### Run workflow via Slurm -Execute the following command to run the test workflow on a Slurm-managed high-performance computing (HPC) cluster:: +#### Run workflow via Slurm + +Execute the following command to run the test workflow on a Slurm-managed +high-performance computing (HPC) cluster: + ```bash ./test_workflow_slurm.sh ``` ## Usage -Assuming that you are currently inside the repository's root directory... +Assuming that you are currently inside the repository's root directory, change +to the execution directory: -* To run the pipeline with your own samples: ```bash cd RUN_JOB ``` -Before running the pipeline adjust the parameters in `config.yaml`file. + +Before running the pipeline adjust the parameters in file `config.yaml`. We +recommend that you create a copy of it for each run. + To start pipeline execution locally: + ```bash ./run_workflow_local.sh ``` -To start pipeline execution in Slurm: -> *Recommended due to resources needs* + +To start pipeline execution via Slurm: ```bash ./run_workflow_slurm.sh ``` -After succesfully execution of the workflow results and logs outputs will be found in `results/` and `logs/` directories. - -> **NOTE:** Depending on the configuration of your Slurm installation or if using a different workflow manager, -> you may need to adapt file `cluster.json` (located in root directory) and the arguments to options `--config` and `--cores` in file -> `run_workflow_slurm.sh`, located in RUN_JOB directory. Consult the manual of your workload manager as well as the section of the -> Snakemake manual dealing with [cluster execution]. +> *This is strongly recommended due to excessive resource needs of some tools!* +After succesful execution of the workflow, results and logs will be found in +`results/` and `logs/` directories, respectively. +> **NOTE:** Depending on the configuration of your Slurm installation or if +> using a different batch scheduling system, you may need to adapt file +> `cluster.json` (located in root directory) and the arguments to options +> `--config` and `--cores` in file `run_workflow_slurm.sh`, located in the +> `RUN_JOB` directory. Consult the manual of your batch scheduling system, as +> well as the section of the Snakemake manual dealing with [cluster execution]. [conda]: <https://docs.conda.io/projects/conda/en/latest/index.html> [cluster execution]: <https://snakemake.readthedocs.io/en/stable/executing/cluster-cloud.html#cluster-execution> diff --git a/images/rule_graph.svg b/images/rule_graph.svg index 439febdd589cb478a60be390912046a177f0e66e..8ea8ac09bc8a336c75c4c5b20b50032c6d371bd7 100644 --- a/images/rule_graph.svg +++ b/images/rule_graph.svg @@ -1,123 +1,145 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<!-- Generated by graphviz version 2.38.0 (20140413.2041) +<!-- Generated by graphviz version 2.40.1 (20161225.0304) --> <!-- Title: snakemake_dag Pages: 1 --> -<svg width="500pt" height="332pt" - viewBox="0.00 0.00 500.00 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<svg width="556pt" height="332pt" + viewBox="0.00 0.00 555.50 332.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 328)"> <title>snakemake_dag</title> -<polygon fill="white" stroke="none" points="-4,4 -4,-328 496,-328 496,4 -4,4"/> +<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-328 551.5,-328 551.5,4 -4,4"/> <!-- 0 --> -<g id="node1" class="node"><title>0</title> -<path fill="none" stroke="#56d8c1" stroke-width="2" d="M275,-36C275,-36 245,-36 245,-36 239,-36 233,-30 233,-24 233,-24 233,-12 233,-12 233,-6 239,-0 245,-0 245,-0 275,-0 275,-0 281,-0 287,-6 287,-12 287,-12 287,-24 287,-24 287,-30 281,-36 275,-36"/> -<text text-anchor="middle" x="260" y="-15.5" font-family="sans" font-size="10.00">finish</text> +<g id="node1" class="node"> +<title>0</title> +<path fill="none" stroke="#59d856" stroke-width="2" d="M303.5,-36C303.5,-36 273.5,-36 273.5,-36 267.5,-36 261.5,-30 261.5,-24 261.5,-24 261.5,-12 261.5,-12 261.5,-6 267.5,0 273.5,0 273.5,0 303.5,0 303.5,0 309.5,0 315.5,-6 315.5,-12 315.5,-12 315.5,-24 315.5,-24 315.5,-30 309.5,-36 303.5,-36"/> +<text text-anchor="middle" x="288.5" y="-15.5" font-family="sans" font-size="10.00" fill="#000000">finish</text> </g> <!-- 1 --> -<g id="node2" class="node"><title>1</title> -<path fill="none" stroke="#56c1d8" stroke-width="2" d="M408,-108C408,-108 238,-108 238,-108 232,-108 226,-102 226,-96 226,-96 226,-84 226,-84 226,-78 232,-72 238,-72 238,-72 408,-72 408,-72 414,-72 420,-78 420,-84 420,-84 420,-96 420,-96 420,-102 414,-108 408,-108"/> -<text text-anchor="middle" x="323" y="-87.5" font-family="sans" font-size="10.00">generate_segemehl_index_transcriptome</text> +<g id="node2" class="node"> +<title>1</title> +<path fill="none" stroke="#d88d56" stroke-width="2" d="M455,-108C455,-108 260,-108 260,-108 254,-108 248,-102 248,-96 248,-96 248,-84 248,-84 248,-78 254,-72 260,-72 260,-72 455,-72 455,-72 461,-72 467,-78 467,-84 467,-84 467,-96 467,-96 467,-102 461,-108 455,-108"/> +<text text-anchor="middle" x="357.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">generate_segemehl_index_transcriptome</text> </g> <!-- 1->0 --> -<g id="edge3" class="edge"><title>1->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M307.427,-71.6966C299.798,-63.2198 290.477,-52.8636 282.124,-43.5826"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="284.685,-41.1959 275.394,-36.1043 279.482,-45.8787 284.685,-41.1959"/> +<g id="edge2" class="edge"> +<title>1->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M340.0884,-71.8314C331.979,-63.3694 322.1844,-53.1489 313.318,-43.8971"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="315.5921,-41.2115 306.146,-36.4133 310.5382,-46.0549 315.5921,-41.2115"/> </g> <!-- 2 --> -<g id="node3" class="node"><title>2</title> -<path fill="none" stroke="#56d88a" stroke-width="2" d="M158,-108C158,-108 12,-108 12,-108 6,-108 0,-102 0,-96 0,-96 0,-84 0,-84 0,-78 6,-72 12,-72 12,-72 158,-72 158,-72 164,-72 170,-78 170,-84 170,-84 170,-96 170,-96 170,-102 164,-108 158,-108"/> -<text text-anchor="middle" x="85" y="-87.5" font-family="sans" font-size="10.00">generate_segemehl_index_genome</text> +<g id="node3" class="node"> +<title>2</title> +<path fill="none" stroke="#56c1d8" stroke-width="2" d="M179,-108C179,-108 12,-108 12,-108 6,-108 0,-102 0,-96 0,-96 0,-84 0,-84 0,-78 6,-72 12,-72 12,-72 179,-72 179,-72 185,-72 191,-78 191,-84 191,-84 191,-96 191,-96 191,-102 185,-108 179,-108"/> +<text text-anchor="middle" x="95.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">generate_segemehl_index_genome</text> </g> <!-- 2->0 --> -<g id="edge2" class="edge"><title>2->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M127.81,-71.8761C157.137,-60.1452 195.62,-44.7519 223.496,-33.6016"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="224.896,-36.8112 232.881,-29.8475 222.297,-30.3118 224.896,-36.8112"/> +<g id="edge4" class="edge"> +<title>2->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M144.202,-71.8314C177.6557,-59.3512 221.3625,-43.0461 251.8709,-31.6648"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="253.1368,-34.9282 261.2827,-28.1536 250.69,-28.3697 253.1368,-34.9282"/> </g> <!-- 3 --> -<g id="node4" class="node"><title>3</title> -<path fill="none" stroke="#bed856" stroke-width="2" d="M480,-108C480,-108 450,-108 450,-108 444,-108 438,-102 438,-96 438,-96 438,-84 438,-84 438,-78 444,-72 450,-72 450,-72 480,-72 480,-72 486,-72 492,-78 492,-84 492,-84 492,-96 492,-96 492,-102 486,-108 480,-108"/> -<text text-anchor="middle" x="465" y="-87.5" font-family="sans" font-size="10.00">gtftobed</text> +<g id="node4" class="node"> +<title>3</title> +<path fill="none" stroke="#d85656" stroke-width="2" d="M531.5,-108C531.5,-108 497.5,-108 497.5,-108 491.5,-108 485.5,-102 485.5,-96 485.5,-96 485.5,-84 485.5,-84 485.5,-78 491.5,-72 497.5,-72 497.5,-72 531.5,-72 531.5,-72 537.5,-72 543.5,-78 543.5,-84 543.5,-84 543.5,-96 543.5,-96 543.5,-102 537.5,-108 531.5,-108"/> +<text text-anchor="middle" x="514.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">gtftobed</text> </g> <!-- 3->0 --> -<g id="edge1" class="edge"><title>3->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M437.653,-75.6113C434.755,-74.3356 431.833,-73.1069 429,-72 384.295,-54.53 331.276,-38.66 296.702,-28.9338"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="297.601,-25.551 287.029,-26.2375 295.722,-32.294 297.601,-25.551"/> +<g id="edge1" class="edge"> +<title>3->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M485.314,-75.9532C482.0327,-74.5467 478.7143,-73.198 475.5,-72 424.5606,-53.0142 363.7957,-36.5653 325.6707,-26.9626"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="326.0944,-23.4612 315.5448,-24.4392 324.4018,-30.2535 326.0944,-23.4612"/> </g> <!-- 4 --> -<g id="node5" class="node"><title>4</title> -<path fill="none" stroke="#d85656" stroke-width="2" d="M245,-180C245,-180 151,-180 151,-180 145,-180 139,-174 139,-168 139,-168 139,-156 139,-156 139,-150 145,-144 151,-144 151,-144 245,-144 245,-144 251,-144 257,-150 257,-156 257,-156 257,-168 257,-168 257,-174 251,-180 245,-180"/> -<text text-anchor="middle" x="198" y="-159.5" font-family="sans" font-size="10.00">create_header_genome</text> +<g id="node5" class="node"> +<title>4</title> +<path fill="none" stroke="#d8bc56" stroke-width="2" d="M273,-180C273,-180 166,-180 166,-180 160,-180 154,-174 154,-168 154,-168 154,-156 154,-156 154,-150 160,-144 166,-144 166,-144 273,-144 273,-144 279,-144 285,-150 285,-156 285,-156 285,-168 285,-168 285,-174 279,-180 273,-180"/> +<text text-anchor="middle" x="219.5" y="-159.5" font-family="sans" font-size="10.00" fill="#000000">create_header_genome</text> </g> <!-- 4->0 --> -<g id="edge4" class="edge"><title>4->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M199.268,-143.836C201.169,-125.328 205.824,-95.377 217,-72 221.803,-61.9547 228.873,-52.143 235.9,-43.7467"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="238.584,-45.9945 242.547,-36.169 233.321,-41.3782 238.584,-45.9945"/> +<g id="edge3" class="edge"> +<title>4->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M220.4949,-143.8016C222.1603,-124.9141 226.6109,-94.9767 238.5,-72 243.8497,-61.6614 251.7246,-51.8419 259.6497,-43.4817"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="262.2875,-45.7932 266.871,-36.2411 257.3312,-40.85 262.2875,-45.7932"/> </g> <!-- 5 --> -<g id="node6" class="node"><title>5</title> -<path fill="none" stroke="#d88d56" stroke-width="2" d="M341,-180C341,-180 305,-180 305,-180 299,-180 293,-174 293,-168 293,-168 293,-156 293,-156 293,-150 299,-144 305,-144 305,-144 341,-144 341,-144 347,-144 353,-150 353,-156 353,-156 353,-168 353,-168 353,-174 347,-180 341,-180"/> -<text text-anchor="middle" x="323" y="-159.5" font-family="sans" font-size="10.00">trim_fasta</text> +<g id="node6" class="node"> +<title>5</title> +<path fill="none" stroke="#88d856" stroke-width="2" d="M379,-180C379,-180 336,-180 336,-180 330,-180 324,-174 324,-168 324,-168 324,-156 324,-156 324,-150 330,-144 336,-144 336,-144 379,-144 379,-144 385,-144 391,-150 391,-156 391,-156 391,-168 391,-168 391,-174 385,-180 379,-180"/> +<text text-anchor="middle" x="357.5" y="-159.5" font-family="sans" font-size="10.00" fill="#000000">trim_fasta</text> </g> <!-- 5->1 --> -<g id="edge5" class="edge"><title>5->1</title> -<path fill="none" stroke="grey" stroke-width="2" d="M323,-143.697C323,-135.983 323,-126.712 323,-118.112"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="326.5,-118.104 323,-108.104 319.5,-118.104 326.5,-118.104"/> +<g id="edge5" class="edge"> +<title>5->1</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M357.5,-143.8314C357.5,-136.131 357.5,-126.9743 357.5,-118.4166"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="361.0001,-118.4132 357.5,-108.4133 354.0001,-118.4133 361.0001,-118.4132"/> </g> <!-- 6 --> -<g id="node7" class="node"><title>6</title> -<path fill="none" stroke="#59d856" stroke-width="2" d="M231.5,-324C231.5,-324 164.5,-324 164.5,-324 158.5,-324 152.5,-318 152.5,-312 152.5,-312 152.5,-300 152.5,-300 152.5,-294 158.5,-288 164.5,-288 164.5,-288 231.5,-288 231.5,-288 237.5,-288 243.5,-294 243.5,-300 243.5,-300 243.5,-312 243.5,-312 243.5,-318 237.5,-324 231.5,-324"/> -<text text-anchor="middle" x="198" y="-303.5" font-family="sans" font-size="10.00">genome_process</text> +<g id="node7" class="node"> +<title>6</title> +<path fill="none" stroke="#bed856" stroke-width="2" d="M257,-324C257,-324 182,-324 182,-324 176,-324 170,-318 170,-312 170,-312 170,-300 170,-300 170,-294 176,-288 182,-288 182,-288 257,-288 257,-288 263,-288 269,-294 269,-300 269,-300 269,-312 269,-312 269,-318 263,-324 257,-324"/> +<text text-anchor="middle" x="219.5" y="-303.5" font-family="sans" font-size="10.00" fill="#000000">genome_process</text> </g> <!-- 6->2 --> -<g id="edge6" class="edge"><title>6->2</title> -<path fill="none" stroke="grey" stroke-width="2" d="M188.374,-287.698C175.045,-263.654 150.316,-218.722 130,-180 119.005,-159.043 106.922,-135.093 98.0478,-117.32"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="101.067,-115.53 93.475,-108.14 94.801,-118.652 101.067,-115.53"/> +<g id="edge6" class="edge"> +<title>6->2</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M208.348,-287.7662C193.5,-263.3767 166.5484,-218.711 144.5,-180 132.6134,-159.1303 119.6369,-135.2434 110.0257,-117.3251"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="112.8631,-115.2091 105.0606,-108.0417 106.6905,-118.5104 112.8631,-115.2091"/> </g> <!-- 6->4 --> -<g id="edge8" class="edge"><title>6->4</title> -<path fill="none" stroke="grey" stroke-width="2" d="M198,-287.871C198,-263.67 198,-219.211 198,-190.393"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="201.5,-190.189 198,-180.189 194.5,-190.189 201.5,-190.189"/> +<g id="edge8" class="edge"> +<title>6->4</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M219.5,-287.7623C219.5,-263.201 219.5,-219.2474 219.5,-190.3541"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="223.0001,-190.0896 219.5,-180.0896 216.0001,-190.0897 223.0001,-190.0896"/> </g> <!-- 8 --> -<g id="node9" class="node"><title>8</title> -<path fill="none" stroke="#88d856" stroke-width="2" d="M379.5,-252C379.5,-252 266.5,-252 266.5,-252 260.5,-252 254.5,-246 254.5,-240 254.5,-240 254.5,-228 254.5,-228 254.5,-222 260.5,-216 266.5,-216 266.5,-216 379.5,-216 379.5,-216 385.5,-216 391.5,-222 391.5,-228 391.5,-228 391.5,-240 391.5,-240 391.5,-246 385.5,-252 379.5,-252"/> -<text text-anchor="middle" x="323" y="-231.5" font-family="sans" font-size="10.00">extract_transcriptome_seqs</text> +<g id="node9" class="node"> +<title>8</title> +<path fill="none" stroke="#56d8c1" stroke-width="2" d="M421.5,-252C421.5,-252 293.5,-252 293.5,-252 287.5,-252 281.5,-246 281.5,-240 281.5,-240 281.5,-228 281.5,-228 281.5,-222 287.5,-216 293.5,-216 293.5,-216 421.5,-216 421.5,-216 427.5,-216 433.5,-222 433.5,-228 433.5,-228 433.5,-240 433.5,-240 433.5,-246 427.5,-252 421.5,-252"/> +<text text-anchor="middle" x="357.5" y="-231.5" font-family="sans" font-size="10.00" fill="#000000">extract_transcriptome_seqs</text> </g> <!-- 6->8 --> -<g id="edge12" class="edge"><title>6->8</title> -<path fill="none" stroke="grey" stroke-width="2" d="M228.578,-287.876C245.074,-278.639 265.624,-267.131 283.336,-257.212"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="285.289,-260.13 292.304,-252.19 281.869,-254.022 285.289,-260.13"/> +<g id="edge12" class="edge"> +<title>6->8</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M254.3232,-287.8314C272.3011,-278.4516 294.4203,-266.9112 313.5616,-256.9244"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="315.4411,-259.8916 322.6879,-252.1628 312.2031,-253.6855 315.4411,-259.8916"/> </g> <!-- 7 --> -<g id="node8" class="node"><title>7</title> -<path fill="none" stroke="#568ad8" stroke-width="2" d="M480,-252C480,-252 426,-252 426,-252 420,-252 414,-246 414,-240 414,-240 414,-228 414,-228 414,-222 420,-216 426,-216 426,-216 480,-216 480,-216 486,-216 492,-222 492,-228 492,-228 492,-240 492,-240 492,-246 486,-252 480,-252"/> -<text text-anchor="middle" x="453" y="-231.5" font-family="sans" font-size="10.00">get_exons_gtf</text> +<g id="node8" class="node"> +<title>7</title> +<path fill="none" stroke="#568ad8" stroke-width="2" d="M535.5,-252C535.5,-252 473.5,-252 473.5,-252 467.5,-252 461.5,-246 461.5,-240 461.5,-240 461.5,-228 461.5,-228 461.5,-222 467.5,-216 473.5,-216 473.5,-216 535.5,-216 535.5,-216 541.5,-216 547.5,-222 547.5,-228 547.5,-228 547.5,-240 547.5,-240 547.5,-246 541.5,-252 535.5,-252"/> +<text text-anchor="middle" x="504.5" y="-231.5" font-family="sans" font-size="10.00" fill="#000000">get_exons_gtf</text> </g> <!-- 7->3 --> -<g id="edge7" class="edge"><title>7->3</title> -<path fill="none" stroke="grey" stroke-width="2" d="M454.447,-215.871C456.493,-191.67 460.25,-147.211 462.685,-118.393"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="466.193,-118.449 463.547,-108.189 459.218,-117.859 466.193,-118.449"/> +<g id="edge7" class="edge"> +<title>7->3</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M505.7665,-215.7623C507.4721,-191.201 510.5245,-147.2474 512.531,-118.3541"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="516.0425,-118.3081 513.2438,-108.0896 509.0593,-117.8231 516.0425,-118.3081"/> </g> <!-- 8->5 --> -<g id="edge9" class="edge"><title>8->5</title> -<path fill="none" stroke="grey" stroke-width="2" d="M323,-215.697C323,-207.983 323,-198.712 323,-190.112"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="326.5,-190.104 323,-180.104 319.5,-190.104 326.5,-190.104"/> +<g id="edge9" class="edge"> +<title>8->5</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M357.5,-215.8314C357.5,-208.131 357.5,-198.9743 357.5,-190.4166"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="361.0001,-190.4132 357.5,-180.4133 354.0001,-190.4133 361.0001,-190.4132"/> </g> <!-- 9 --> -<g id="node10" class="node"><title>9</title> -<path fill="none" stroke="#d8bc56" stroke-width="2" d="M415,-324C415,-324 361,-324 361,-324 355,-324 349,-318 349,-312 349,-312 349,-300 349,-300 349,-294 355,-288 361,-288 361,-288 415,-288 415,-288 421,-288 427,-294 427,-300 427,-300 427,-312 427,-312 427,-318 421,-324 415,-324"/> -<text text-anchor="middle" x="388" y="-303.5" font-family="sans" font-size="10.00">filter_anno_gtf</text> +<g id="node10" class="node"> +<title>9</title> +<path fill="none" stroke="#56d88a" stroke-width="2" d="M462,-324C462,-324 399,-324 399,-324 393,-324 387,-318 387,-312 387,-312 387,-300 387,-300 387,-294 393,-288 399,-288 399,-288 462,-288 462,-288 468,-288 474,-294 474,-300 474,-300 474,-312 474,-312 474,-318 468,-324 462,-324"/> +<text text-anchor="middle" x="430.5" y="-303.5" font-family="sans" font-size="10.00" fill="#000000">filter_anno_gtf</text> </g> <!-- 9->7 --> -<g id="edge10" class="edge"><title>9->7</title> -<path fill="none" stroke="grey" stroke-width="2" d="M404.067,-287.697C411.939,-279.22 421.555,-268.864 430.173,-259.583"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="432.878,-261.814 437.117,-252.104 427.748,-257.051 432.878,-261.814"/> +<g id="edge10" class="edge"> +<title>9->7</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M449.1733,-287.8314C458.0249,-279.219 468.7486,-268.7851 478.3895,-259.4048"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="481.1061,-261.645 485.8326,-252.1628 476.2246,-256.6279 481.1061,-261.645"/> </g> <!-- 9->8 --> -<g id="edge11" class="edge"><title>9->8</title> -<path fill="none" stroke="grey" stroke-width="2" d="M371.933,-287.697C364.061,-279.22 354.445,-268.864 345.827,-259.583"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="348.252,-257.051 338.883,-252.104 343.122,-261.814 348.252,-257.051"/> +<g id="edge11" class="edge"> +<title>9->8</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M412.079,-287.8314C403.3471,-279.219 392.7683,-268.7851 383.2577,-259.4048"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="385.4925,-256.6931 375.9151,-252.1628 380.577,-261.6769 385.4925,-256.6931"/> </g> </g> </svg> diff --git a/images/workflow_dag.svg b/images/workflow_dag.svg index 8383d3e22d755194681385e4532ee949f29730dd..5dce513383ddfd4c32f0384dc1b09203cb0b1e3b 100644 --- a/images/workflow_dag.svg +++ b/images/workflow_dag.svg @@ -1,127 +1,149 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<!-- Generated by graphviz version 2.38.0 (20140413.2041) +<!-- Generated by graphviz version 2.40.1 (20161225.0304) --> <!-- Title: snakemake_dag Pages: 1 --> -<svg width="500pt" height="337pt" - viewBox="0.00 0.00 500.00 337.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<svg width="556pt" height="337pt" + viewBox="0.00 0.00 555.50 337.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 333)"> <title>snakemake_dag</title> -<polygon fill="white" stroke="none" points="-4,4 -4,-333 496,-333 496,4 -4,4"/> +<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-333 551.5,-333 551.5,4 -4,4"/> <!-- 0 --> -<g id="node1" class="node"><title>0</title> -<path fill="none" stroke="#56d88a" stroke-width="2" d="M275,-36C275,-36 245,-36 245,-36 239,-36 233,-30 233,-24 233,-24 233,-12 233,-12 233,-6 239,-0 245,-0 245,-0 275,-0 275,-0 281,-0 287,-6 287,-12 287,-12 287,-24 287,-24 287,-30 281,-36 275,-36"/> -<text text-anchor="middle" x="260" y="-15.5" font-family="sans" font-size="10.00">finish</text> +<g id="node1" class="node"> +<title>0</title> +<path fill="none" stroke="#d85656" stroke-width="2" d="M303.5,-36C303.5,-36 273.5,-36 273.5,-36 267.5,-36 261.5,-30 261.5,-24 261.5,-24 261.5,-12 261.5,-12 261.5,-6 267.5,0 273.5,0 273.5,0 303.5,0 303.5,0 309.5,0 315.5,-6 315.5,-12 315.5,-12 315.5,-24 315.5,-24 315.5,-30 309.5,-36 303.5,-36"/> +<text text-anchor="middle" x="288.5" y="-15.5" font-family="sans" font-size="10.00" fill="#000000">finish</text> </g> <!-- 1 --> -<g id="node2" class="node"><title>1</title> -<path fill="none" stroke="#d85656" stroke-width="2" d="M408,-108C408,-108 238,-108 238,-108 232,-108 226,-102 226,-96 226,-96 226,-84 226,-84 226,-78 232,-72 238,-72 238,-72 408,-72 408,-72 414,-72 420,-78 420,-84 420,-84 420,-96 420,-96 420,-102 414,-108 408,-108"/> -<text text-anchor="middle" x="323" y="-87.5" font-family="sans" font-size="10.00">generate_segemehl_index_transcriptome</text> +<g id="node2" class="node"> +<title>1</title> +<path fill="none" stroke="#d8bc56" stroke-width="2" d="M455,-108C455,-108 260,-108 260,-108 254,-108 248,-102 248,-96 248,-96 248,-84 248,-84 248,-78 254,-72 260,-72 260,-72 455,-72 455,-72 461,-72 467,-78 467,-84 467,-84 467,-96 467,-96 467,-102 461,-108 455,-108"/> +<text text-anchor="middle" x="357.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">generate_segemehl_index_transcriptome</text> </g> <!-- 1->0 --> -<g id="edge1" class="edge"><title>1->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M307.427,-71.6966C299.798,-63.2198 290.477,-52.8636 282.124,-43.5826"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="284.685,-41.1959 275.394,-36.1043 279.482,-45.8787 284.685,-41.1959"/> +<g id="edge1" class="edge"> +<title>1->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M340.0884,-71.8314C331.979,-63.3694 322.1844,-53.1489 313.318,-43.8971"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="315.5921,-41.2115 306.146,-36.4133 310.5382,-46.0549 315.5921,-41.2115"/> </g> <!-- 2 --> -<g id="node3" class="node"><title>2</title> -<path fill="none" stroke="#56d8c1" stroke-width="2" d="M158,-108C158,-108 12,-108 12,-108 6,-108 0,-102 0,-96 0,-96 0,-84 0,-84 0,-78 6,-72 12,-72 12,-72 158,-72 158,-72 164,-72 170,-78 170,-84 170,-84 170,-96 170,-96 170,-102 164,-108 158,-108"/> -<text text-anchor="middle" x="85" y="-87.5" font-family="sans" font-size="10.00">generate_segemehl_index_genome</text> +<g id="node3" class="node"> +<title>2</title> +<path fill="none" stroke="#59d856" stroke-width="2" d="M179,-108C179,-108 12,-108 12,-108 6,-108 0,-102 0,-96 0,-96 0,-84 0,-84 0,-78 6,-72 12,-72 12,-72 179,-72 179,-72 185,-72 191,-78 191,-84 191,-84 191,-96 191,-96 191,-102 185,-108 179,-108"/> +<text text-anchor="middle" x="95.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">generate_segemehl_index_genome</text> </g> <!-- 2->0 --> -<g id="edge2" class="edge"><title>2->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M127.81,-71.8761C157.137,-60.1452 195.62,-44.7519 223.496,-33.6016"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="224.896,-36.8112 232.881,-29.8475 222.297,-30.3118 224.896,-36.8112"/> +<g id="edge2" class="edge"> +<title>2->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M144.202,-71.8314C177.6557,-59.3512 221.3625,-43.0461 251.8709,-31.6648"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="253.1368,-34.9282 261.2827,-28.1536 250.69,-28.3697 253.1368,-34.9282"/> </g> <!-- 3 --> -<g id="node4" class="node"><title>3</title> -<path fill="none" stroke="#59d856" stroke-width="2" d="M480,-108C480,-108 450,-108 450,-108 444,-108 438,-102 438,-96 438,-96 438,-84 438,-84 438,-78 444,-72 450,-72 450,-72 480,-72 480,-72 486,-72 492,-78 492,-84 492,-84 492,-96 492,-96 492,-102 486,-108 480,-108"/> -<text text-anchor="middle" x="465" y="-87.5" font-family="sans" font-size="10.00">gtftobed</text> +<g id="node4" class="node"> +<title>3</title> +<path fill="none" stroke="#d88d56" stroke-width="2" d="M531.5,-108C531.5,-108 497.5,-108 497.5,-108 491.5,-108 485.5,-102 485.5,-96 485.5,-96 485.5,-84 485.5,-84 485.5,-78 491.5,-72 497.5,-72 497.5,-72 531.5,-72 531.5,-72 537.5,-72 543.5,-78 543.5,-84 543.5,-84 543.5,-96 543.5,-96 543.5,-102 537.5,-108 531.5,-108"/> +<text text-anchor="middle" x="514.5" y="-87.5" font-family="sans" font-size="10.00" fill="#000000">gtftobed</text> </g> <!-- 3->0 --> -<g id="edge3" class="edge"><title>3->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M437.653,-75.6113C434.755,-74.3356 431.833,-73.1069 429,-72 384.295,-54.53 331.276,-38.66 296.702,-28.9338"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="297.601,-25.551 287.029,-26.2375 295.722,-32.294 297.601,-25.551"/> +<g id="edge3" class="edge"> +<title>3->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M485.314,-75.9532C482.0327,-74.5467 478.7143,-73.198 475.5,-72 424.5606,-53.0142 363.7957,-36.5653 325.6707,-26.9626"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="326.0944,-23.4612 315.5448,-24.4392 324.4018,-30.2535 326.0944,-23.4612"/> </g> <!-- 4 --> -<g id="node5" class="node"><title>4</title> -<path fill="none" stroke="#568ad8" stroke-width="2" d="M245,-180C245,-180 151,-180 151,-180 145,-180 139,-174 139,-168 139,-168 139,-156 139,-156 139,-150 145,-144 151,-144 151,-144 245,-144 245,-144 251,-144 257,-150 257,-156 257,-156 257,-168 257,-168 257,-174 251,-180 245,-180"/> -<text text-anchor="middle" x="198" y="-159.5" font-family="sans" font-size="10.00">create_header_genome</text> +<g id="node5" class="node"> +<title>4</title> +<path fill="none" stroke="#56d8c1" stroke-width="2" d="M273,-180C273,-180 166,-180 166,-180 160,-180 154,-174 154,-168 154,-168 154,-156 154,-156 154,-150 160,-144 166,-144 166,-144 273,-144 273,-144 279,-144 285,-150 285,-156 285,-156 285,-168 285,-168 285,-174 279,-180 273,-180"/> +<text text-anchor="middle" x="219.5" y="-159.5" font-family="sans" font-size="10.00" fill="#000000">create_header_genome</text> </g> <!-- 4->0 --> -<g id="edge4" class="edge"><title>4->0</title> -<path fill="none" stroke="grey" stroke-width="2" d="M199.268,-143.836C201.169,-125.328 205.824,-95.377 217,-72 221.803,-61.9547 228.873,-52.143 235.9,-43.7467"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="238.584,-45.9945 242.547,-36.169 233.321,-41.3782 238.584,-45.9945"/> +<g id="edge4" class="edge"> +<title>4->0</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M220.4949,-143.8016C222.1603,-124.9141 226.6109,-94.9767 238.5,-72 243.8497,-61.6614 251.7246,-51.8419 259.6497,-43.4817"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="262.2875,-45.7932 266.871,-36.2411 257.3312,-40.85 262.2875,-45.7932"/> </g> <!-- 5 --> -<g id="node6" class="node"><title>5</title> -<path fill="none" stroke="#d8bc56" stroke-width="2" d="M341,-180C341,-180 305,-180 305,-180 299,-180 293,-174 293,-168 293,-168 293,-156 293,-156 293,-150 299,-144 305,-144 305,-144 341,-144 341,-144 347,-144 353,-150 353,-156 353,-156 353,-168 353,-168 353,-174 347,-180 341,-180"/> -<text text-anchor="middle" x="323" y="-159.5" font-family="sans" font-size="10.00">trim_fasta</text> +<g id="node6" class="node"> +<title>5</title> +<path fill="none" stroke="#bed856" stroke-width="2" d="M379,-180C379,-180 336,-180 336,-180 330,-180 324,-174 324,-168 324,-168 324,-156 324,-156 324,-150 330,-144 336,-144 336,-144 379,-144 379,-144 385,-144 391,-150 391,-156 391,-156 391,-168 391,-168 391,-174 385,-180 379,-180"/> +<text text-anchor="middle" x="357.5" y="-159.5" font-family="sans" font-size="10.00" fill="#000000">trim_fasta</text> </g> <!-- 5->1 --> -<g id="edge5" class="edge"><title>5->1</title> -<path fill="none" stroke="grey" stroke-width="2" d="M323,-143.697C323,-135.983 323,-126.712 323,-118.112"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="326.5,-118.104 323,-108.104 319.5,-118.104 326.5,-118.104"/> +<g id="edge5" class="edge"> +<title>5->1</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M357.5,-143.8314C357.5,-136.131 357.5,-126.9743 357.5,-118.4166"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="361.0001,-118.4132 357.5,-108.4133 354.0001,-118.4133 361.0001,-118.4132"/> </g> <!-- 6 --> -<g id="node7" class="node"><title>6</title> -<path fill="none" stroke="#bed856" stroke-width="2" stroke-dasharray="5,2" d="M262.5,-329C262.5,-329 133.5,-329 133.5,-329 127.5,-329 121.5,-323 121.5,-317 121.5,-317 121.5,-300 121.5,-300 121.5,-294 127.5,-288 133.5,-288 133.5,-288 262.5,-288 262.5,-288 268.5,-288 274.5,-294 274.5,-300 274.5,-300 274.5,-317 274.5,-317 274.5,-323 268.5,-329 262.5,-329"/> -<text text-anchor="middle" x="198" y="-317" font-family="sans" font-size="10.00">genome_process</text> -<text text-anchor="middle" x="198" y="-306" font-family="sans" font-size="10.00">organism: homo_sapiens</text> -<text text-anchor="middle" x="198" y="-295" font-family="sans" font-size="10.00">prefix_name: GRCh38.98_chrY</text> +<g id="node7" class="node"> +<title>6</title> +<path fill="none" stroke="#88d856" stroke-width="2" d="M289,-329C289,-329 150,-329 150,-329 144,-329 138,-323 138,-317 138,-317 138,-300 138,-300 138,-294 144,-288 150,-288 150,-288 289,-288 289,-288 295,-288 301,-294 301,-300 301,-300 301,-317 301,-317 301,-323 295,-329 289,-329"/> +<text text-anchor="middle" x="219.5" y="-317" font-family="sans" font-size="10.00" fill="#000000">genome_process</text> +<text text-anchor="middle" x="219.5" y="-306" font-family="sans" font-size="10.00" fill="#000000">organism: homo_sapiens</text> +<text text-anchor="middle" x="219.5" y="-295" font-family="sans" font-size="10.00" fill="#000000">prefix_name: GRCh38.98_chrY</text> </g> <!-- 6->2 --> -<g id="edge6" class="edge"><title>6->2</title> -<path fill="none" stroke="grey" stroke-width="2" d="M187.265,-287.695C173.748,-262.685 149.889,-218.292 130,-180 119.091,-158.998 107.003,-135.05 98.1043,-117.29"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="101.12,-115.496 93.5166,-108.118 94.8598,-118.628 101.12,-115.496"/> +<g id="edge6" class="edge"> +<title>6->2</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M207.097,-287.6883C192.065,-262.3653 166.0689,-218.2504 144.5,-180 132.7032,-159.0794 119.7218,-135.1953 110.0859,-117.291"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="112.92,-115.1706 105.1055,-108.0163 106.7529,-118.4823 112.92,-115.1706"/> </g> <!-- 6->4 --> -<g id="edge8" class="edge"><title>6->4</title> -<path fill="none" stroke="grey" stroke-width="2" d="M198,-287.711C198,-262.489 198,-218.76 198,-190.359"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="201.5,-190.295 198,-180.296 194.5,-190.296 201.5,-190.295"/> +<g id="edge8" class="edge"> +<title>6->4</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M219.5,-287.8208C219.5,-262.3635 219.5,-219.0008 219.5,-190.4249"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="223.0001,-190.265 219.5,-180.265 216.0001,-190.2651 223.0001,-190.265"/> </g> <!-- 8 --> -<g id="node9" class="node"><title>8</title> -<path fill="none" stroke="#88d856" stroke-width="2" d="M379.5,-252C379.5,-252 266.5,-252 266.5,-252 260.5,-252 254.5,-246 254.5,-240 254.5,-240 254.5,-228 254.5,-228 254.5,-222 260.5,-216 266.5,-216 266.5,-216 379.5,-216 379.5,-216 385.5,-216 391.5,-222 391.5,-228 391.5,-228 391.5,-240 391.5,-240 391.5,-246 385.5,-252 379.5,-252"/> -<text text-anchor="middle" x="323" y="-231.5" font-family="sans" font-size="10.00">extract_transcriptome_seqs</text> +<g id="node9" class="node"> +<title>8</title> +<path fill="none" stroke="#568ad8" stroke-width="2" d="M421.5,-252C421.5,-252 293.5,-252 293.5,-252 287.5,-252 281.5,-246 281.5,-240 281.5,-240 281.5,-228 281.5,-228 281.5,-222 287.5,-216 293.5,-216 293.5,-216 421.5,-216 421.5,-216 427.5,-216 433.5,-222 433.5,-228 433.5,-228 433.5,-240 433.5,-240 433.5,-246 427.5,-252 421.5,-252"/> +<text text-anchor="middle" x="357.5" y="-231.5" font-family="sans" font-size="10.00" fill="#000000">extract_transcriptome_seqs</text> </g> <!-- 6->8 --> -<g id="edge11" class="edge"><title>6->8</title> -<path fill="none" stroke="grey" stroke-width="2" d="M231.827,-287.88C248.054,-278.468 267.574,-267.147 284.382,-257.398"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="286.508,-260.211 293.403,-252.166 282.996,-254.156 286.508,-260.211"/> +<g id="edge11" class="edge"> +<title>6->8</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M257.5744,-287.9453C275.3192,-278.3657 296.5045,-266.9287 314.7923,-257.056"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="316.6459,-260.0328 323.7828,-252.2024 313.3205,-253.8731 316.6459,-260.0328"/> </g> <!-- 7 --> -<g id="node8" class="node"><title>7</title> -<path fill="none" stroke="#d88d56" stroke-width="2" d="M480,-252C480,-252 426,-252 426,-252 420,-252 414,-246 414,-240 414,-240 414,-228 414,-228 414,-222 420,-216 426,-216 426,-216 480,-216 480,-216 486,-216 492,-222 492,-228 492,-228 492,-240 492,-240 492,-246 486,-252 480,-252"/> -<text text-anchor="middle" x="453" y="-231.5" font-family="sans" font-size="10.00">get_exons_gtf</text> +<g id="node8" class="node"> +<title>7</title> +<path fill="none" stroke="#56d88a" stroke-width="2" d="M535.5,-252C535.5,-252 473.5,-252 473.5,-252 467.5,-252 461.5,-246 461.5,-240 461.5,-240 461.5,-228 461.5,-228 461.5,-222 467.5,-216 473.5,-216 473.5,-216 535.5,-216 535.5,-216 541.5,-216 547.5,-222 547.5,-228 547.5,-228 547.5,-240 547.5,-240 547.5,-246 541.5,-252 535.5,-252"/> +<text text-anchor="middle" x="504.5" y="-231.5" font-family="sans" font-size="10.00" fill="#000000">get_exons_gtf</text> </g> <!-- 7->3 --> -<g id="edge7" class="edge"><title>7->3</title> -<path fill="none" stroke="grey" stroke-width="2" d="M454.447,-215.871C456.493,-191.67 460.25,-147.211 462.685,-118.393"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="466.193,-118.449 463.547,-108.189 459.218,-117.859 466.193,-118.449"/> +<g id="edge7" class="edge"> +<title>7->3</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M505.7665,-215.7623C507.4721,-191.201 510.5245,-147.2474 512.531,-118.3541"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="516.0425,-118.3081 513.2438,-108.0896 509.0593,-117.8231 516.0425,-118.3081"/> </g> <!-- 8->5 --> -<g id="edge9" class="edge"><title>8->5</title> -<path fill="none" stroke="grey" stroke-width="2" d="M323,-215.697C323,-207.983 323,-198.712 323,-190.112"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="326.5,-190.104 323,-180.104 319.5,-190.104 326.5,-190.104"/> +<g id="edge9" class="edge"> +<title>8->5</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M357.5,-215.8314C357.5,-208.131 357.5,-198.9743 357.5,-190.4166"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="361.0001,-190.4132 357.5,-180.4133 354.0001,-190.4133 361.0001,-190.4132"/> </g> <!-- 9 --> -<g id="node10" class="node"><title>9</title> -<path fill="none" stroke="#56c1d8" stroke-width="2" stroke-dasharray="5,2" d="M475.5,-329C475.5,-329 346.5,-329 346.5,-329 340.5,-329 334.5,-323 334.5,-317 334.5,-317 334.5,-300 334.5,-300 334.5,-294 340.5,-288 346.5,-288 346.5,-288 475.5,-288 475.5,-288 481.5,-288 487.5,-294 487.5,-300 487.5,-300 487.5,-317 487.5,-317 487.5,-323 481.5,-329 475.5,-329"/> -<text text-anchor="middle" x="411" y="-317" font-family="sans" font-size="10.00">filter_anno_gtf</text> -<text text-anchor="middle" x="411" y="-306" font-family="sans" font-size="10.00">organism: homo_sapiens</text> -<text text-anchor="middle" x="411" y="-295" font-family="sans" font-size="10.00">prefix_name: GRCh38.98_chrY</text> +<g id="node10" class="node"> +<title>9</title> +<path fill="none" stroke="#56c1d8" stroke-width="2" d="M517,-329C517,-329 378,-329 378,-329 372,-329 366,-323 366,-317 366,-317 366,-300 366,-300 366,-294 372,-288 378,-288 378,-288 517,-288 517,-288 523,-288 529,-294 529,-300 529,-300 529,-317 529,-317 529,-323 523,-329 517,-329"/> +<text text-anchor="middle" x="447.5" y="-317" font-family="sans" font-size="10.00" fill="#000000">filter_anno_gtf</text> +<text text-anchor="middle" x="447.5" y="-306" font-family="sans" font-size="10.00" fill="#000000">organism: homo_sapiens</text> +<text text-anchor="middle" x="447.5" y="-295" font-family="sans" font-size="10.00" fill="#000000">prefix_name: GRCh38.98_chrY</text> </g> <!-- 9->7 --> -<g id="edge10" class="edge"><title>9->7</title> -<path fill="none" stroke="grey" stroke-width="2" d="M422.477,-287.689C427.236,-279.474 432.822,-269.83 437.906,-261.055"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="440.982,-262.727 442.967,-252.319 434.925,-259.218 440.982,-262.727"/> +<g id="edge10" class="edge"> +<title>9->7</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M463.3777,-287.7476C469.935,-279.177 477.6095,-269.1463 484.5413,-260.0864"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="487.3483,-262.1775 490.645,-252.1087 481.7888,-257.924 487.3483,-262.1775"/> </g> <!-- 9->8 --> -<g id="edge12" class="edge"><title>9->8</title> -<path fill="none" stroke="grey" stroke-width="2" d="M386.954,-287.689C376.061,-278.715 363.098,-268.036 351.7,-258.645"/> -<polygon fill="grey" stroke="grey" stroke-width="2" points="353.673,-255.736 343.729,-252.078 349.222,-261.138 353.673,-255.736"/> +<g id="edge12" class="edge"> +<title>9->8</title> +<path fill="none" stroke="#c0c0c0" stroke-width="2" d="M422.43,-287.7476C411.548,-278.7398 398.7176,-268.119 387.348,-258.7076"/> +<polygon fill="#c0c0c0" stroke="#c0c0c0" stroke-width="2" points="389.3113,-255.7891 379.3762,-252.1087 384.8477,-261.1814 389.3113,-255.7891"/> </g> </g> </svg> diff --git a/test/expected_output.files b/test/expected_output.files index 6615521a6e1de3f32590e0d861f33127ab1e0ef9..a8d99461bd457faff08d50f595ab4d9fd79791c3 100644 --- a/test/expected_output.files +++ b/test/expected_output.files @@ -6,5 +6,4 @@ results/homo_sapiens/GRCh38.98_chrY/gene_annotations.filtered.gtf results/homo_sapiens/GRCh38.98_chrY/exons.gtf results/homo_sapiens/GRCh38.98_chrY/transcriptome.fa results/homo_sapiens/GRCh38.98_chrY/exons.bed -results/homo_sapiens/GRCh38.98_chrY/headerOfCollapsedFasta.sam -results/homo_sapiens/GRCh38.98_chrY/genome_index_segemehl.idx \ No newline at end of file +results/homo_sapiens/GRCh38.98_chrY/genome_index_segemehl.idx diff --git a/test/expected_output.md5 b/test/expected_output.md5 index ddc2e4d3f15c271c71372d76461619d96c999710..57dc755124001949c4accb0e5dd2c72c77366db2 100644 --- a/test/expected_output.md5 +++ b/test/expected_output.md5 @@ -6,5 +6,4 @@ f37a213f94d11bf2260f50f2c9f199d2 results/homo_sapiens/GRCh38.98_chrY/genome.pro 6fe52e2e126ef2e0c368fb1bf267f453 results/homo_sapiens/GRCh38.98_chrY/exons.gtf 5ab1c2f39ab35fabc6673c73beb3097b results/homo_sapiens/GRCh38.98_chrY/transcriptome.fa 51ac61c61825929f8f05c4b4f821f04d results/homo_sapiens/GRCh38.98_chrY/exons.bed -7027e0b45c8e46ef79f1cb234fa3b839 results/homo_sapiens/GRCh38.98_chrY/headerOfCollapsedFasta.sam -11b0b7c50160aa8837dd92eda516c124 results/homo_sapiens/GRCh38.98_chrY/genome_index_segemehl.idx \ No newline at end of file +11b0b7c50160aa8837dd92eda516c124 results/homo_sapiens/GRCh38.98_chrY/genome_index_segemehl.idx diff --git a/test/test_workflow_local.sh b/test/test_workflow_local.sh index 69b9942212603288c3eb8140d35b3b1001da38b2..37b051b866b4d59bf58d675f5c14f0bcc298304d 100755 --- a/test/test_workflow_local.sh +++ b/test/test_workflow_local.sh @@ -3,8 +3,8 @@ # Tear down test environment cleanup () { rc=$? - #rm -rf .snakemake/ - #rm -rf logs/ + rm -rf .snakemake/ + rm -rf logs/ rm -rf results/ cd $user_dir echo "Exit status: $rc"