Skip to content
New issue

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

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

Already on GitHub? # to your account

Problem in probe alignment when running the pipeline using a different probe length range #14

Open
JasonJHughes opened this issue Jun 28, 2022 · 1 comment

Comments

@JasonJHughes
Copy link

Dear Beliveau Lab,

When running the PaintSHOP pipeline using the standard example run but changing the length of probes (to 20mers) causes the sam2pairwise to exit due to finding unmapped reads which is a known issue for sam2pairwise.

Even when I add the recommended fix. mlafave/sam2pairwise#1.

Editing the Snakefile rule on extract duplex information from alignment results
rule sam_to_pairwise: ....
'samtools view -F 4 {input} | sam2pairwise > {output}'

It causes errors to occur when parsing the alignment results in parse_pairwise. Due to for example getting a value error where the wrong number of items are passed then what the placement implies.

I was wondering if you have a fix for this.

-Jason

@JasonJHughes
Copy link
Author

Also, Is there an option to remove the pairwise duplex incase you get no duplexes from samtools? Since for example at shorter probe length ranges, probes might not align with each other for forming duplexes, and this can cause errors in the code leading to your pipeline failing to run.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant