各位大佬,我想请教一下关于snakemake1的问题:由于软件之间的冲突,因此在snakemake中使用了conda这一指令,但报出Could not create conda environment from/public/home/guoting/lsn/chipship/snakemake_test/envs/bam.yaml:这种错误,请各位大佬帮忙解答一下,蟹蟹了。
以下是代码详情:
rule all:
input:
expand("/public/home/guoting/lsn/chipship/snakemake_test/05bam/{sample}.named.bam",sample=['Control','H3K36me3'])
rule bowtie2:
input:
trim_r1 = "/public/home/guoting/lsn/chipship/snakemake_test/04hshuangyangben/{sample}_1.trim.fastq.gz"
output:
bow_r1 = "/public/home/guoting/lsn/chipship/snakemake_test/05bam/{sample}.named.bam"
threads:20
params:
genome_index = "/public/home/guoting/lsn/chipship/PRJNA984292/hg38_index/GRCh38_noalt_as/GRCh38_noalt_as",
core = 20
conda:
"/public/home/guoting/lsn/chipship/snakemake_test/envs/bam.yaml"
shell:
"bowtie2 -p {params.core} -x {params.genome_index} -U {input.trim_r1} | samtools sort -@ {threads} -n -o {output.bow_r1}"
bam.yaml详情:
channels:
- bioconda
dependencies:
- bowtie2 =2.5.0
- samtools =1.17
1 回答