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

report reference genome length in align_reads output; use this value for assemble_refbased. reference_genome_length #538

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

tomkinsc
Copy link
Member

@tomkinsc tomkinsc commented May 7, 2024

Currently, assemble_refbased reports reference_genome_length based on inspection of the mapped bam file used in plot_coverage however in the event zero reads map, the reference length is reported as zero. This commit reports the actual length of the sequence in the reference fasta provided to assemble_refbased, as the first Int output of the scattered calls to assembly.align_reads (and exposes the value, which was already obtained but not output, in align_reads)

…for assemble_refbased. reference_genome_length

Currently, assemble_refbased reports reference_genome_length based on inspection of the mapped bam file used in plot_coverage however in the event zero reads map, the reference length is reported as zero. This commit reports the actual length of the sequence in the reference fasta provided to assemble_refbased, as the first Int output of the scattered calls to assembly.align_reads (and exposes the value, which was already obtained but not output, in align_reads)
@dpark01
Copy link
Member

dpark01 commented Jun 4, 2024

good to merge?

@tomkinsc tomkinsc added this pull request to the merge queue Jun 4, 2024
Merged via the queue into master with commit efa9c76 Jun 4, 2024
12 checks passed
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