Skip to content

Commit

Permalink
Merge pull request #102 from instituteofcancerresearch/fix-issue-101
Browse files Browse the repository at this point in the history
Fix issue 101
  • Loading branch information
rachelicr authored Nov 27, 2024
2 parents dc7f594 + 1fc7e5c commit 106efd5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ ensembl_downloads/**/*.fa.gz
tmp/
/docs/index.md
/site/

# Personal dir testing
pp_evo2/*
data/*
zz_beatriz/*
pp_evo/*
tmp2/*
zz_users_angel/*
snvs/IBD002_platypus_omit024_filtered_vep.IBD002_012E.vcf
snvs/PPCG0002a_DNA_vs_PPCG0002b_DNA.filtered.extended.pon.vcf.gz
7 changes: 4 additions & 3 deletions src/SOPRANO/core/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def check_params(self):
@as_single_process()
def gather(self):
sample_results_paths = [
self.get_sample(idx).results_path for idx in range(self.n_samples)
self.get_sample(idx).results_path for idx in range(-1, self.n_samples)
]

for expected_results_path in sample_results_paths:
Expand Down Expand Up @@ -429,8 +429,9 @@ def gather(self):
)

joined_df.to_csv(self.samples_path)
self.plot_hist()

if self.n_samples >= 1:
self.plot_hist()

@staticmethod
def split_joined_df(
joined_df: pd.DataFrame,
Expand Down

0 comments on commit 106efd5

Please sign in to comment.