-
Notifications
You must be signed in to change notification settings - Fork 6
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
Rseq bamstat #155
Rseq bamstat #155
Conversation
This reverts commit 38f586b.
|
||
engines: | ||
- type: docker | ||
image: ubuntu:22.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
image: ubuntu:22.04 | |
image: python:3.10 |
- type: apt | ||
packages: [ python3-pip ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- type: apt | |
packages: [ python3-pip ] |
argument_groups: | ||
- name: "Input" | ||
arguments: | ||
- name: "--input" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although the input
parameter works I would use the parameter defined in the help page as the input parameter name.
- name: "--input" | |
- name: "--input_file" |
type: file | ||
required: true | ||
description: Input alignment file in BAM or SAM format. | ||
- name: "--map_qual" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: "--map_qual" | |
- name: "--mapq" |
src/rseqc/rseqc_bamstat/script.sh
Outdated
|
||
bam_stat.py \ | ||
--input "${par_input}" \ | ||
${par_map_qual:+--mapq "${par_map_qual}"} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${par_map_qual:+--mapq "${par_map_qual}"} \ | |
${par_mapq:+--mapq "${par_mapq}"} \ |
src/rseqc/rseqc_bamstat/test.sh
Outdated
echo "> Running $meta_functionality_name." | ||
|
||
"$meta_executable" \ | ||
--input "$meta_resources_dir/test_data/$input_bam" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--input "$meta_resources_dir/test_data/$input_bam" \ | |
--input_file "$meta_resources_dir/test_data/$input_bam" \ |
src/rseqc/rseqc_bamstat/test.sh
Outdated
"$meta_executable" \ | ||
--input "$meta_resources_dir/test_data/$input_bam" \ | ||
--output "$output_summary" \ | ||
--map_qual 50 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--map_qual 50 | |
--mapq 50 |
src/rseqc/rseqc_bamstat/test.sh
Outdated
echo "> Running $meta_functionality_name." | ||
|
||
"$meta_executable" \ | ||
--input "$meta_resources_dir/test_data/$input_bam" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--input "$meta_resources_dir/test_data/$input_bam" \ | |
--input_file "$meta_resources_dir/test_data/$input_bam" \ |
src/rseqc/rseqc_bamstat/test.sh
Outdated
|
||
echo ">>> Test 2: Test with non-default mapping quality threshold" | ||
|
||
output_summary="mapping_quality_mapq_30.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
output_summary="mapping_quality_mapq_30.txt" | |
output_summary="mapping_quality_mapq_50.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can subsample to half to get the file to about 10kb
Thanks Kai, changes have been made! |
Description
Add RSeQC bamstat component
Checklist before requesting a review
I have performed a self-review of my code
Conforms to the Contributing guidelines
Proposed changes are described in the CHANGELOG.md
I have tested my code with
viash ns test --parallel -q <name or namespace>
Check the correct box. Does this PR contain: