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

Using pxclsq to trim codon alignments #90

Open
flopezo opened this issue Jun 8, 2018 · 5 comments
Open

Using pxclsq to trim codon alignments #90

flopezo opened this issue Jun 8, 2018 · 5 comments

Comments

@flopezo
Copy link

flopezo commented Jun 8, 2018

Hello,

I was wondering if maybe there is a way to use pxclsq to remove codons instead of single sites; something similar to what this script does.

Thank you.

@josephwb
Copy link
Member

josephwb commented Jun 8, 2018

Definitely!

@josephwb
Copy link
Member

Gah this clearly fell through the cracks. Didjya want to do this @jfwalker (since you wrote it)? If not, I can do it.

@jfwalker
Copy link
Contributor

@josephwb so I don't think it should matter whether it is nucleotide or codon. For codon it will likely have been aligned by an Amino acid or an algorithm that assumes three's such as prank. This means when you do the column occupancy all bases in the codon should either be present or absent together so if it's removing position one it will have to remove position 2 and 3, unless somehow this was aligned with certain bases of the codon missing. Running on regular nucleotide should be fine for codons. Sorry completely forgot to respond to this before!

@josephwb
Copy link
Member

I think the idea is to remove the stop codon, even if it is present in all the sequences.

@josephwb
Copy link
Member

josephwb commented Dec 8, 2019

Sorry this has taken forever, but it has been implemented as of 0154ac6. Still need to add the bit about removing the stop codon. Will close this after merging to master.

@josephwb josephwb mentioned this issue Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants