Skip to content

Commit

Permalink
Change vcf_file path to input_files
Browse files Browse the repository at this point in the history
  • Loading branch information
endast committed Oct 17, 2023
1 parent 5affade commit 1e0ab68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions pipelines/annotations.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ rule absplice:
vcf=expand(
[
absplice_repo_dir
/ "example/data/resources/analysis_files/vcf_files"
/ (vcf_pattern),
/ "example/data/resources/analysis_files/input_files"
/ (vcf_pattern + "_variants_header.vcf"),
],
zip,
chr=chromosomes,
Expand Down Expand Up @@ -253,14 +253,13 @@ rule mod_config_absplice:

rule link_files_absplice:
input:
anno_tmp_dir / (vcf_pattern + "_variants_header.vcf.gz"),
anno_tmp_dir / (vcf_pattern + "_variants_header.vcf"),
output:
absplice_repo_dir
/ "example/data/resources/analysis_files/vcf_files"
/ (vcf_pattern),
/ "example/data/resources/analysis_files/input_files"
/ (vcf_pattern + "_variants_header.vcf"),
shell:
" ".join(["ln", "-s", "-r", "{input}", "{output}"])

f"mkdir -p {absplice_repo_dir/'example/data/resources/analysis_files/input_files'} && ln -s -r {{input}} {{output}}"



Expand Down Expand Up @@ -345,7 +344,7 @@ rule concat_deepSea:

rule deepSea:
input:
variants=anno_tmp_dir / (vcf_pattern + "_variants_header.vcf.gz"),
variants=anno_tmp_dir / (vcf_pattern + "_variants_header.vcf"),
fasta=fasta_dir / fasta_file_name,
output:
anno_dir / (vcf_pattern + ".CLI.deepseapredict.diff.tsv"),
Expand Down Expand Up @@ -451,7 +450,7 @@ rule extract_with_header:
input:
bcf_dir / (vcf_pattern + ".bcf"),
output:
anno_tmp_dir / (vcf_pattern + "_variants_header.vcf.gz"),
anno_tmp_dir / (vcf_pattern + "_variants_header.vcf"),
shell:
(
load_bfc
Expand Down
4 changes: 2 additions & 2 deletions pipelines/resources/absplice_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# specify genome version hg19 or hg38
genome: hg38

# store all the vcf file that you want to analyze to directory ../data/resources/vcf_files/
vcf: ../data/resources/analysis_files/vcf_files/{vcf_id}
# store all the vcf file that you want to analyze to directory ../data/resources/input_files/
vcf: ../data/resources/analysis_files/input_files/{vcf_id}

# parameters for variant filtering
variant_filtering:
Expand Down

0 comments on commit 1e0ab68

Please sign in to comment.