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

Dp24 exclude file #48

Merged
merged 4 commits into from
Sep 12, 2024
Merged

Dp24 exclude file #48

merged 4 commits into from
Sep 12, 2024

Conversation

DLBPointon
Copy link
Collaborator

Updated exclide_seq -> filterfasta to also take a names.lst file on names to exclude from final fasta. closes #47.

@DLBPointon DLBPointon added the enhancement New feature or request label Aug 22, 2024
@DLBPointon DLBPointon self-assigned this Aug 22, 2024
@DLBPointon DLBPointon requested a review from stevieing August 22, 2024 20:11
@DLBPointon
Copy link
Collaborator Author

DLBPointon commented Aug 22, 2024

@stevieing Perhaps it is once the struct becomes public? A bug?

@@ -26,8 +26,8 @@ mod generics;
mod tpf_fasta;
use crate::tpf_fasta::tpf_fasta_mod::curate_fasta;

mod exclude_seq;
use crate::exclude_seq::exclude_seq_mod::filter_fasta;
mod filter_fasta;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering why we need to do this? Is this standard in Rust. We have had to do it in a few places when adding tests and not entirely sure why.

@stevieing
Copy link
Contributor

@stevieing Perhaps it is once the struct becomes public? A bug?

Maybe. Not sure. At the moment we need to expose them publicly because it is the only way we can create a struct. I suspect a better way would be to use initializers / factory functions.

@DLBPointon DLBPointon merged commit 68c4a63 into dev Sep 12, 2024
5 checks passed
@DLBPointon DLBPointon deleted the dp24_exclude_file branch September 12, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an exclusion list file to filterfasta
2 participants