Skip to content

Commit

Permalink
separate env for fq lint
Browse files Browse the repository at this point in the history
  • Loading branch information
WardDeb committed Oct 22, 2024
1 parent f635db7 commit 1a0d33d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ jobs:
'CONDA_PREPROCESSING_ENV',
'CONDA_NONCODING_RNASEQ_ENV',
'CONDA_SAMBAMBA_ENV',
'CONDA_pysam_ENV'
'CONDA_pysam_ENV',
'CONDA_FQLINT_ENV'
]
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
'CONDA_PREPROCESSING_ENV',
'CONDA_NONCODING_RNASEQ_ENV',
'CONDA_SAMBAMBA_ENV',
'CONDA_pysam_ENV'
'CONDA_pysam_ENV',
'CONDA_FQLINT_ENV'
]
runs-on: macos-latest
steps:
Expand Down
4 changes: 3 additions & 1 deletion snakePipes/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def set_env_yamls():
'CONDA_NONCODING_RNASEQ_ENV': 'envs/noncoding.yaml',
'CONDA_SAMBAMBA_ENV': 'envs/sambamba.yaml',
'CONDA_pysam_ENV': 'envs/pysam.yaml',
'CONDA_SEACR_ENV': 'envs/chip_seacr.yaml'}
'CONDA_SEACR_ENV': 'envs/chip_seacr.yaml',
'CONDA_FQLINT_ENV': 'envs/fqlint.yaml'
}


def merge_dicts(x, y):
Expand Down
4 changes: 2 additions & 2 deletions snakePipes/shared/rules/FASTQ.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if pairedEnd or pipeline=="scrnaseq":
r2 = indir+"/{sample}"+reads[1]+ext
output:
temp("originalFASTQ/{sample}.valid")
conda: CONDA_SHARED_ENV
conda: CONDA_FQLINT_ENV
shell:"""
fq lint {input.r1} {input.r2}
touch {output}
Expand All @@ -16,7 +16,7 @@ else:
r1 = indir+"/{sample}"+reads[0]+ext
output:
temp("originalFASTQ/{sample}.valid")
conda: CONDA_SHARED_ENV
conda: CONDA_FQLINT_ENV
shell:"""
fq lint {input.r1}
touch {output}
Expand Down
4 changes: 4 additions & 0 deletions snakePipes/shared/rules/envs/fqlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
channels:
- bioconda
dependencies:
- fq = 0.12.0
3 changes: 1 addition & 2 deletions snakePipes/shared/rules/envs/shared.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: snakepipes_shared_environment_2.0
channels:
- bioconda
- conda-forge
- bioconda
dependencies:
- python = 3.10.13
- deeptools = 3.5.4
Expand All @@ -15,6 +15,5 @@ dependencies:
- multiqc = 1.23
- fastp = 0.23.4
- umi_tools = 1.1.4
- fq = 0.12.0
- pybigwig = 0.3.22

0 comments on commit 1a0d33d

Please sign in to comment.