Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtdb v9 #725

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e279d43
Correction of typos
Waschina Jan 10, 2024
df691ac
Back-change heading closing tags
Waschina Jan 12, 2024
54cdbb3
correct h2 tab
SilasK Jan 22, 2024
30b32b5
Update multiqc wrapper to newest version.
njohner Feb 15, 2024
cbff856
path to config file
SilasK Apr 29, 2024
bfce186
seperate log file does not work
SilasK Jun 4, 2024
3b8e685
Merge branch 'master' into snake8
SilasK Jun 6, 2024
f65f1f8
correct import of load_configfile
SilasK Jun 23, 2024
eed9657
add slurm plugin
Jun 23, 2024
6d3ec54
spades 4
Jun 23, 2024
e84d76a
error in mem definition
Jun 23, 2024
494844e
Merge remote-tracking branch 'origin/units-resources' into snake8
Jun 24, 2024
330df57
fix-spades-mem_mb
SilasK Jun 25, 2024
fe9cdc8
path in bin report
SilasK Jun 25, 2024
df1e8bb
fix bin report path again
SilasK Jun 25, 2024
74a6a52
update verstion and paths
SilasK Jun 25, 2024
1eddc34
use split download from gtdbtk
SilasK Jun 25, 2024
9a04528
Merge branch 'master' into gtdbv9
SilasK Jun 25, 2024
71ff4e2
url is not a path
SilasK Jun 26, 2024
367f1bf
more memory for gtdbtk aling
SilasK Jun 26, 2024
b7c73a5
sterr and stdout log for extract gtdb
SilasK Jul 27, 2024
e905d3b
my dram
SilasK Jun 26, 2024
510ac16
formating
SilasK Jun 26, 2024
c30ff08
move changelog
SilasK Jun 28, 2024
ee73864
github actions to automate changelog
SilasK Jun 28, 2024
00e91d7
add codespell
SilasK Jun 28, 2024
a9d2193
add versioneer
SilasK Jun 28, 2024
927f64a
chore(main): release 2.18.2
github-actions[bot] Jun 28, 2024
5535622
package is called metagneome-atlas
SilasK Jun 28, 2024
01ff80b
add formating
SilasK Jun 28, 2024
330cc4f
snakefmt formating
SilasK Jun 28, 2024
16fc1b4
install snakefmt with bioconda
SilasK Jun 28, 2024
d7cf4c4
ignore some files
SilasK Jun 28, 2024
8326c57
update verstion and paths
SilasK Jun 25, 2024
ed35c07
use split download from gtdbtk
SilasK Jun 25, 2024
1ebc799
specify target rule when downloading
SilasK Jun 28, 2024
703780b
format
SilasK Jun 28, 2024
ae3b011
sterr and stdout log for extract gtdb
SilasK Jul 27, 2024
e988caf
sterr and stdout log for extract gtdb
SilasK Jul 27, 2024
633c7b3
Update CHANGELOG.md
SilasK Jul 28, 2024
aba8b30
Merge branch 'main' into gtdbv9
SilasK Jul 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion atlas/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import click


from snakemake.io import load_configfile
from snakemake.common.configfile import load_configfile
from .make_config import validate_config
from .init.atlas_init import run_init # , run_init_sra

Expand Down
2 changes: 1 addition & 1 deletion atlas/make_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .default_values import *
from snakemake.utils import update_config as snakemake_update_config
from snakemake.io import load_configfile
from snakemake.common.configfile import load_configfile
import tempfile
import sys
import os
Expand Down
5 changes: 3 additions & 2 deletions atlasenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ channels:
- bioconda
- defaults
dependencies:
- python >=3.8, < 3.12
- python >=3.10, < 3.12
- mamba
- bbmap >= 39.01, <40
- snakemake-minimal >= 7.18.1, <7.26
- snakemake-minimal >= 8.12, <8.15
- pygments
- networkx
- graphviz
Expand All @@ -16,3 +16,4 @@ dependencies:
- ruamel.yaml >=0.17
- cookiecutter
- wget
- snakemake-executor-plugin-slurm
12 changes: 4 additions & 8 deletions workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ if not SKIP_QC:
dupesubs=config["duplicates_allow_substitutions"],
only_optical=("t" if config.get("duplicates_only_optical") else "f"),
log:
sterr="{sample}/logs/QC/deduplicate.err",
stout="{sample}/logs/QC/deduplicate.log",
"{sample}/logs/QC/deduplicate.log",
conda:
"%s/required_packages.yaml" % CONDAENV
threads: config.get("threads", 1)
Expand All @@ -177,8 +176,7 @@ if not SKIP_QC:
" threads={threads} "
" pigz=t unpigz=t "
" -Xmx{resources.java_mem}G "
" 2> {log.sterr} "
" 1> {log.stout} "
" &> {log} "

PROCESSED_STEPS.append("filtered")

Expand Down Expand Up @@ -229,8 +227,7 @@ if not SKIP_QC:
output.reads, key="out", allow_singletons=False
),
log:
sterr="{sample}/logs/QC/quality_filter.err",
stout="{sample}/logs/QC/quality_filter.log",
"{sample}/logs/QC/quality_filter.log",
conda:
"%s/required_packages.yaml" % CONDAENV
threads: config.get("threads", 1)
Expand Down Expand Up @@ -260,8 +257,7 @@ if not SKIP_QC:
" prealloc={params.prealloc} "
" pigz=t unpigz=t "
" -Xmx{resources.java_mem}G "
" 2> {log.sterr} "
" 1> {log.stout} "
" &> {log} "

# if there are no references, decontamination will be skipped
if len(config.get("contaminant_references", {}).keys()) > 0:
Expand Down
Loading