-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved tests and removed snakemake pipelines (#30)
* start making the new wipertools repo * moving devcontainer files together in the sample directory * settling devcontainer ffiles * improve functionalities and fix versions * handling compressed fastq in scatter * improved implementation of gather and scatter * improved summary gather implementation * expanded pytests * fixing github actions * fixed pytest action * fixing pytests * fixing pytest * improved code coverage
- Loading branch information
Showing
36 changed files
with
1,720 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ omit = __init__.py | |
|
||
[report] | ||
exclude_also = | ||
def wipe_fastq | ||
if __name__ == .__main__.: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM condaforge/mambaforge | ||
LABEL maintainer="[email protected]" | ||
|
||
COPY data data | ||
COPY ./.devcontainer/environment.yml environment.yml | ||
|
||
RUN mamba env update --file environment.yml --name base | ||
RUN git config --global core.autocrlf true | ||
|
||
WORKDIR /fastqwiper |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
"build": { | ||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerfile": "../Dockerfile" | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers/features/git:1": {} | ||
}, | ||
"customizations" : { | ||
"jetbrains" : { | ||
"backend" : "PyCharm" | ||
} | ||
}, | ||
workspaceFolder: "/fastqwiper", | ||
workspaceMount: "source=${localWorkspaceFolder},target=/fastqwiper,type=bind" | ||
} | ||
"name": "Dockerfile FastqWiper@BFX", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers/features/git:1": {} | ||
}, | ||
"workspaceFolder": "/fastqwiper", | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/fastqwiper,type=bind", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.debugpy", | ||
"ms-azuretools.vscode-docker" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- python | ||
- pytest | ||
- pytest-cov | ||
- conda-build | ||
- bioconda-utils | ||
- pyyaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debugger: summarygather", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolderBasename}/wipertools.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"summarygather", | ||
"--summaries", | ||
"data/abba_full_wiped.fastq.log", | ||
"data/abba_full_wiped.fastq2.log", | ||
"--final_summary", | ||
"data/abba_full_wiped.fastq.summary", | ||
] | ||
}, | ||
{ | ||
"name": "Debugger: fastqwiper", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolderBasename}/wipertools.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"fastqwiper", | ||
"--fastq_in", | ||
"data/abba_full.fastq", | ||
"--fastq_out", | ||
"data/abba_full_wiped.fastq", | ||
"-f", | ||
"10", | ||
"-l", | ||
"data/abba_full_wiped.fastq.log", | ||
"-a", | ||
"TCGAN" | ||
] | ||
}, | ||
{ | ||
"name": "Debugger: fastqscatter", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolderBasename}/wipertools.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"fastqscatter", | ||
"--fastq", | ||
"data/sample_R1.fastq.gz", | ||
"--num_splits", | ||
"3", | ||
"--out_folder", | ||
"./data/splits_unix", | ||
"--prefix", | ||
"ff", | ||
"--suffix", | ||
"rr", | ||
"--ext", | ||
"fastq", | ||
"--os", | ||
"unix" | ||
] | ||
}, | ||
{ | ||
"name": "Debugger: fastqgather", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolderBasename}/wipertools.py", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"fastqgather", | ||
"--in_folder", | ||
"data/splits_unix", | ||
"--out_fastq", | ||
"data/gathered_unix.fastq", | ||
"--prefix", | ||
"ff", | ||
"--os", | ||
"unix" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"python.analysis.autoImportCompletions": true, | ||
"python.analysis.typeCheckingMode": "basic" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.