10000 mod to display cmdline options to sam header by telmin · Pull Request #260 · ksahlin/strobealign · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mod to display cmdline options to sam header #260

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

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

telmin
Copy link
Contributor
@telmin telmin commented Apr 3, 2023

Hi.

I am in the process of evaluating strobealign. I think it is very nice software.

By the way, the @pg tag in the SAM header, the spec says that the CL tag should show the command line options when run the analysis.
So I thought it was correct to modify it this way.

I would be happy if you could merge them.

Copy link
Collaborator
@marcelm marcelm left a comment

Choose a reason for hiding this comment

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

Thanks! Just one comment.

src/main.cpp Outdated
@@ -131,6 +131,11 @@ void show_progress_until_done(std::vector<int>& worker_done, std::vector<Alignme
int run_strobealign(int argc, char **argv) {
auto opt = parse_command_line_arguments(argc, argv);

std::stringstream cmd_line;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you move this into the if (map_param.is_sam_out) { block below? Then it’s closer to where it’s used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for your comment. You are indeed correct. I will fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fixed it. Would you check it please.

@marcelm
Copy link
Collaborator
marcelm commented Apr 4, 2023

Thanks again! We may need to add an option to disable adding the @PG header because this could lead to non-reproducible output, but that is something for later.

@marcelm marcelm merged commit 813f21b into ksahlin:main Apr 4, 2023
@telmin telmin deleted the disp_cmdline_to_sam_header branch April 24, 2023 08:15
rebjannik pushed a commit to rebjannik/strobealign that referenced this pull request May 17, 2025
mod to display cmdline options to sam header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0