Skip to content

Commit

Permalink
Fix meteor strain bug and condas build on github
Browse files Browse the repository at this point in the history
  • Loading branch information
aghozlane committed Mar 5, 2024
1 parent ad2d150 commit 54da840
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_meteor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: devtools/conda-envs/build_env.yaml
environment-file: conda/build_env.yaml
auto-update-conda: false
channels: conda-forge,bioconda,aghozlane,defaults
- name: Build and upload the conda packages
Expand Down
4 changes: 2 additions & 2 deletions meteor/strain.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def execute(self) -> None:
msp_file = (
self.meteor.ref_dir
/ self.json_data["reference"]["reference_file"]["database_dir"]
/ self.json_data["reference"]["annotation"]["msp"]
/ self.json_data["reference"]["annotation"]["msp"]["filename"]
)
cram_file = (
self.json_data["mapped_sample_dir"]
Expand All @@ -265,7 +265,7 @@ def execute(self) -> None:
bed_file = (
self.meteor.ref_dir
/ self.json_data["reference"]["reference_file"]["database_dir"]
/ self.json_data["reference"]["annotation"]["bed"]
/ self.json_data["reference"]["annotation"]["bed"]["filename"]
)
start = perf_counter()
# count_file,
Expand Down
5 changes: 4 additions & 1 deletion meteor/variantcalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,13 @@ def execute(self) -> None:
/ self.census["reference"]["reference_file"]["fasta_dir"]
/ self.census["reference"]["reference_file"]["fasta_filename"]
)
print(self.meteor.ref_dir)
print(self.census["reference"]["reference_file"]["database_dir"])
print(self.census["reference"]["annotation"]["bed"])
bed_file = (
self.meteor.ref_dir
/ self.census["reference"]["reference_file"]["database_dir"]
/ self.census["reference"]["annotation"]["bed"]
/ self.census["reference"]["annotation"]["bed"]["filename"]
)
bcftools_exec = run(["bcftools", "--version"], capture_output=True)
bcftools_version = (
Expand Down

0 comments on commit 54da840

Please sign in to comment.