Skip to content

Ability to specify codon table for dn_ds matrix calculation. - #765

Closed
alexjironkin wants to merge 1 commit into
biopython:masterfrom
alexjironkin:master
Closed

alexjironkin wants to merge 1 commit into
biopython:masterfrom
alexjironkin:master

Conversation

@alexjironkin

Copy link
Copy Markdown
Contributor

Currently only default_codon_table can be used with get_dn_ds_matrix. Extended to expose this option to the end user.

Currently only default_codon_table can be used with get_dn_ds_matrix. Extended to expose this option to the end user.
@codecov-io

Copy link
Copy Markdown

Current coverage is 78.68%

Merging #765 into master will decrease coverage by -0.01% as of ab1bc73

@@            master    #765   diff @@
======================================
  Files          315     315       
  Stmts        46600   46600       
  Branches         0       0       
  Methods          0       0       
======================================
- Hit          36670   36668     -2
  Partial          0       0       
- Missed        9930    9932     +2

Review entire Coverage Diff as of ab1bc73

Powered by Codecov. Updated on successful CI builds.

@peterjc

peterjc commented Jan 29, 2016

Copy link
Copy Markdown
Member

Does this look sensible @zruan ?

Could you add a test for the new method @alexjironkin ? See file Tests/test_codonalign.py

@alexjironkin

Copy link
Copy Markdown
Contributor Author

It's not a new method, I just exposed codon_table to be passed to get_dn_ds_matrix method that already existed.

@peterjc

peterjc commented Jan 29, 2016

Copy link
Copy Markdown
Member

Sorry, typo: I meant the new argument (and associated new functionality).

@alexjironkin

Copy link
Copy Markdown
Contributor Author

Ah no problem ... Although looking at the test code, there is no test for get_dn_ds_matrix at all.

@zruan

zruan commented Jan 29, 2016

Copy link
Copy Markdown
Contributor

Thank you @alexjironkin. Yes, I think the changes make sense. One more thing I noticed is that we also need to pass the codon_table option to the get_dn_ds_tree method, as it directly calls get_dn_ds_matrix. As to the test code, it's better to do it in TestCodonAlignment class.

@alexjironkin

Copy link
Copy Markdown
Contributor Author

I've already added the codon_table option to the get_dn_ds_tree in the same commit.

@zruan

zruan commented Jan 29, 2016

Copy link
Copy Markdown
Contributor

Sorry, my bad. You do edit the get_dn_ds_tree as well.

@peterjc

peterjc commented May 23, 2016

Copy link
Copy Markdown
Member

Can one of you write a test for get_dn_ds_matrix?

@peterjc

peterjc commented Apr 11, 2017

Copy link
Copy Markdown
Member

I didn't chase this and its waited nearly a year. I'd really prefer this have a test before merging it...

Alex, are you happy to dual licence your contributions under both the Biopython License Agreement AND the BSD 3-Clause License? See #898.

Also, are you happy to be thanked by name in the NEWS.rst and CONTRIB.rst files?

@peterjc

peterjc commented Apr 21, 2017

Copy link
Copy Markdown
Member

Closed via #1178 - including Alex's work.

@alexjironkin Are you happy to dual licence your contributions under both the Biopython License Agreement AND the BSD 3-Clause License? See #898.

Also, are you happy to be thanked by name in the NEWS.rst and CONTRIB.rst files?

@peterjc

peterjc commented May 16, 2017

Copy link
Copy Markdown
Member

@alexjironkin Are you happy to dual licence your contributions under both the Biopython License Agreement AND the BSD 3-Clause License? See #898.

Also, are you happy to be thanked by name in the NEWS.rst and CONTRIB.rst files?

peterjc added a commit to peterjc/biopython that referenced this pull request Feb 5, 2024
Original author Zheng Ruan and contributors since tracked by
version control have agreed:

 - Adhemar Zerlotini (@azneto)
   biopython#1412 (comment)
 - Alex Jironkin (@alexjironkin)
   PENDING VIA biopython#765
 - Benjamin Vaisvil (@bvaisvil)
   biopython#1613
 - Carlos Pena (@carlosp420)
   biopython#898 (comment)
 - Chris Rands (@chris-rands)
   biopython#1301
 - Christian Brueffer (@cbrueffer)
   biopython#898 (comment)
 - Eric Talevich (@etal)
   biopython#898 (comment)
 - Michiel de Hoon (@mdehoon)
   biopython#898 (comment)
 - Micky Yun Chan (@michiboo)
   biopython#1983
 - @morrme
   biopython#1172 (comment)
 - Nick Negretti (@nimne)
   biopython#1768 (comment)
 - Peter Cock (@peterjc)
   biopython#898 (comment)
 - Sujan Dulal (@Dsujan)
   biopython#2430
 - Travis Wrightsman (@twrightsman)
   biopython#898 (comment)
 - Zheng Ruan (@zruan)
   biopython#898 (comment)
peterjc added a commit that referenced this pull request Feb 5, 2024
Original author Zheng Ruan and contributors since tracked by
version control have agreed:

 - Adhemar Zerlotini (@azneto)
   #1412 (comment)
 - Alex Jironkin (@alexjironkin)
   PENDING VIA #765
 - Benjamin Vaisvil (@bvaisvil)
   #1613
 - Carlos Pena (@carlosp420)
   #898 (comment)
 - Chris Rands (@chris-rands)
   #1301
 - Christian Brueffer (@cbrueffer)
   #898 (comment)
 - Eric Talevich (@etal)
   #898 (comment)
 - Michiel de Hoon (@mdehoon)
   #898 (comment)
 - Micky Yun Chan (@michiboo)
   #1983
 - @morrme
   #1172 (comment)
 - Nick Negretti (@nimne)
   #1768 (comment)
 - Peter Cock (@peterjc)
   #898 (comment)
 - Sujan Dulal (@Dsujan)
   #2430
 - Travis Wrightsman (@twrightsman)
   #898 (comment)
 - Zheng Ruan (@zruan)
   #898 (comment)
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.

4 participants