Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/35 #36

Merged
merged 6 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).



## v0.2.2 - [2024-08-01]

### `Fixed`

- Removed suffix from created databases, this resolves an issue where databases are not found as the wrong suffix is passed to the database option [PR 36](https://github.com/phac-nml/locidex/pull/36)

## v0.2.1 - [2024-07-29]

### `Fixed`
Expand Down
3 changes: 2 additions & 1 deletion locidex/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ def __init__(self, input_file: os.PathLike, outdir: os.PathLike, config: DBConfi
blast_method = DBData.protein_db_type()
self.init_dir(outfile)
out_fasta = outfile.joinpath("{}.fasta".format(t))
output_db_path = outfile.joinpath(t)
self.write_seq_file(out_fasta, col_name)
creating_db = BlastMakeDB(input_file=out_fasta,
db_type=blast_method,
parse_seqids=self.parse_seqids,
output_db_path=out_fasta)
output_db_path=output_db_path)
creating_db.makeblastdb()
self.config.is_nucl = self.is_dna
self.config.is_prot = self.is_protein
Expand Down
2 changes: 1 addition & 1 deletion locidex/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def allele_assignment(self,dbtype):

hit_loci_names = self.get_hit_locinames()
loci_lookup = self.get_loci_to_query_map(hit_loci_names,dbtype)

print("loci names", hit_loci_names)

for locus in loci_lookup:
loci_lookup[locus] = list(set(loci_lookup[locus]) - self.failed_seqids)
Expand Down
2 changes: 1 addition & 1 deletion locidex/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.1'
__version__ = '0.2.2'
Loading