Skip to content

Commit

Permalink
Finished description of all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvanderlee committed Jul 26, 2017
1 parent 8ffe21d commit 86f52e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 27 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Additional data and material can be found here: [Supplementary data and material

## Requirements

Our scripts depend on various programs and modules to run. Refer to the paper for which versions were used.
Our scripts depend on various programs and modules to run. Versions mentioned below refer to those used for the analyses described in the paper.<br/>
*Make sure all of these programs are in your [`$PATH`](http://www.linfo.org/path_env_var.html)*.<br/>

#### Perl
Expand All @@ -45,7 +45,7 @@ Our scripts depend on various programs and modules to run. Refer to the paper fo

#### BioPerl & Ensembl API
- BioPerl `cpanm Bio::Perl` (http://bioperl.org/)
- Ensembl API (http://www.ensembl.org/info/docs/api/index.html)
- Ensembl API (http://www.ensembl.org/info/docs/api/index.html) - release 78, December 2014 (http://dec2014.archive.ensembl.org/)

#### R
- R: https://www.r-project.org/
Expand All @@ -54,14 +54,14 @@ Our scripts depend on various programs and modules to run. Refer to the paper fo
GNU Parallel (https://www.gnu.org/software/parallel/)

#### Aligners and alignment analysis tools
- PRANK multiple sequence aligner (http://wasabiapp.org/software/prank/)
- GUIDANCE (http://guidance.tau.ac.il/)<br/>
- PRANK multiple sequence aligner (http://wasabiapp.org/software/prank/) - v.140603
- GUIDANCE (http://guidance.tau.ac.il/) - v1.5<br/>
*Note that a bug fix is required for GUIDANCE (version 1.5 - 2014, August 7) to work with PRANK, see [GUIDANCE_source_code_fix_for_running_PRANK](Supplementary_data_and_material/GUIDANCE_source_code_fix_for_running_PRANK/)*
- t_coffee, which includes `TCS` (http://www.tcoffee.org/Projects/tcoffee/)
- t_coffee, which includes `TCS` (http://www.tcoffee.org/Projects/tcoffee/) - Version_11.00.61eb9e4
- Jalview alignment viewer (http://www.jalview.org/)

#### PAML
PAML software package, which includes `codeml` (http://abacus.gene.ucl.ac.uk/software/paml.html)
PAML software package, which includes `codeml` (http://abacus.gene.ucl.ac.uk/software/paml.html) - v4.8a

#### Technical checks
Make sure you check the `GNU Parallel` logs (`perl parse_parallel_logs.pl all`) to get an indication that steps finished correctly. Though unfortunately not all programs exit with an error message if they fail, so our scripts also extensively check for whether the various steps ran correctly in other ways.
Expand Down
13 changes: 0 additions & 13 deletions analyze_and_combine_codeml_results.r
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,6 @@ analyze.alignment_codeml_results <- function(codeml.parameter.combination){


### analyze the new data frames as the correct data types

# doesn't work # lapply(lapply(aln.data.split, function(x) do.call(data.frame, aln.data.split[[1]])), str)

# doesn't work
# sapply(names(aln.data.split), function(x){
# if(x %in% info.category.integer){
# tmp <- as.integer(aln.data.split[[x]]$info.value)
# aln.data.split[[x]]$info.value <- tmp
# } else {
# print("N")
# }
# })

info.category.integer <- c("null_model_np", "alternative_model_np", "LRT_degrees_of_freedom", "codeml_outfile_convergence_warnings", "rub_convergence_warnings", "length_alignment", "length_human_sequence")
info.category.character <- c("null_model", "alternative_model")
info.category.numeric <- c("null_model_lnL", "alternative_model_lnL", "alternative_model_kappa", "alternative_model_omega", "LRT_statistic", "LRT_P_value_full", "LRT_P_value_scientific")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
-user=>'anonymous',
);
$reg->set_reconnect_when_lost(); # should prevent errors like: DBD::mysql::st execute failed: Lost connection to MySQL server during query at $PATH_TO_Ensembl_API/ensembl/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm line 238, <IN> line 25.
# TODO CHECK AND PRINT ENSEMBL VERSION



Expand Down
7 changes: 0 additions & 7 deletions mask_msa_based_on_guidance_results.pl
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@

my $CURRENT_GUIDANCE_DIRECTORY = "$BASE_DIRECTORY/$basedir_file";

# opendir(CURGUIDANCEDIR, $CURRENT_GUIDANCE_DIRECTORY) or die $!;
### loop over all files within the current guidance results directory
# while (my $curguidancedir_file = readdir(CURGUIDANCEDIR)){
# next unless(-f "$CURRENT_GUIDANCE_DIRECTORY/$curguidancedir_file"); # only loop over files
# print $curguidancedir_file . "\n";
# }


### CHECKS
eval { checkPrankStdoutLog("$CURRENT_GUIDANCE_DIRECTORY" . "/" . "MSA.PRANK.aln.std") };
Expand Down

0 comments on commit 86f52e3

Please sign in to comment.