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

PAML installation from source #7

Merged
merged 22 commits into from
Apr 6, 2021
Merged

PAML installation from source #7

merged 22 commits into from
Apr 6, 2021

Conversation

Cecilia-Sensalari
Copy link
Collaborator

  • In containers PAML is now installed from source

  • Installation.rst updated for PAML local installation

  • Renamed "Paralog1" to "Ortholog1" in ortholog TSV file

  • Nextflow command is now without square brackets for the "-c" parameter

  • Lincense has now "ksrates" instead of "ks rate-correction"

@Cecilia-Sensalari
Copy link
Collaborator Author

Cecilia-Sensalari commented Mar 28, 2021

Renaming "wgd" module to "wgd_ksrates":
We have called the wgd module integrated in ksrates simply "wgd", however this is also how wgd is called when installed separately (one might have wgd already installed or might want to install it later on). If for example you install first ksrates and then wgd, the most recent wgd will take over when "wgd" is called in the commands during our ksrates pipeline. This leads to some incompatibilities...
To solve this I'm giving a new name to our integrated wgd directory ("wgd_ksrates") and I'm changing it in the files where needed.

@lohausr
Copy link
Contributor

lohausr commented Mar 31, 2021

Renaming "wgd" module to "wgd_ksrates":
We have called the wgd module integrated in ksrates simply "wgd", however this is also how wgd is called when installed separately (one might have wgd already installed or might want to install it later on). If for example you install first ksrates and then wgd, the most recent wgd will take over when "wgd" is called in the commands during our ksrates pipeline. This leads to some incompatibilities...
To solve this I'm giving a new name to our integrated wgd directory ("wgd_ksrates") and I'm changing it in the files where needed.

Hmm. We do not use the wgd command anywhere anymore, or do we? Is this also the case for the import statements, would it rather import from a separately installed wgd than the module integrated within ksrates?

Copy link
Contributor

@lohausr lohausr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See a few edits and comments.

Dockerfile Outdated Show resolved Hide resolved
LICENSE Outdated
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

Ks Rate-Correction Copyright (C) 2020 Cecilia SENSALARI
ksrates Copyright (C) 2020 Cecilia SENSALARI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be 2021. I know you did a lot of the coding, but I think any copyright should maybe at least go to both of us or the ESB lab instead.

Comment on lines 656 to 658
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have any of those commands, this section would need to be adjusted.

@@ -2,7 +2,7 @@ Bootstrap: docker
From: vibpsb/i-adhore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this? Also in Dockerfile.

Singularity Outdated Show resolved Hide resolved
@@ -99,23 +100,41 @@ Without the use of a container the installation of *ksrates* and its dependencie
cd ksrates
pip3 install .

3. Non-Python dependencies can be installed in two possible ways.
3. Most of non-Python dependencies can be installed in two possible ways.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is specific for Linux. Any suggestion for Windows? (I can add macOS later.)

doc/source/installation.rst Outdated Show resolved Hide resolved
doc/source/installation.rst Outdated Show resolved Hide resolved
doc/source/installation.rst Outdated Show resolved Hide resolved
@@ -383,6 +383,7 @@ def ks_orthologs(species1, species2, cds_fasta1, cds_fasta2, base_dir='.', eval_
if isinstance(results_df, type(None)) or results_df.empty:
logging.warning('No ortholog Ks data computed, will write empty ortholog Ks file!')
with open(os.path.join(output_dir, output_ks_file), 'w+') as o:
results_df = results_df.rename(columns={"Paralog1":"Ortholog1", "Paralog2":"Ortholog2"})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't need any changes elsewhere, i.e. the column names are not read/used anywhere in our or wgd's code? Just making sure.

@Cecilia-Sensalari Cecilia-Sensalari merged commit 3798044 into master Apr 6, 2021
@Cecilia-Sensalari Cecilia-Sensalari deleted the container_paml branch April 8, 2021 09:46
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