Giter VIP home page Giter VIP logo

vampirus's Introduction

vAMPirus logo

DOI Chat on Gitter run with conda run with docker run with singularity release

RECENT UPDATES:

5/23/24 -> vAMPirus manuscript is out now! Check it out is Molecular Ecology Resources -- https://onlinelibrary.wiley.com/doi/10.1111/1755-0998.13978

10/23/2023 -> vAMPirus manuscript is currently in revision in Molecular Ecology Resources and there are plans to update the framework within the next year. Please note to run the vAMPirus.nf script you will not be able to use the most recent version of Nextflow (v23). You can download version 22 and it will run perfectly fine still. As always, please let us know if you run into any issues.

2/9/23 -> vAMPirus preprint has been released, check it out here: https://www.authorea.com/users/584435/articles/623635-vampirus-a-versatile-amplicon-processing-and-analysis-program-for-studying-viruses

1/20/23 -> We have created the vAMPirus Analysis Repository community on Zenodo for everyone to upload their non-read files used for their vAMPirus analyses. This is an initiative to increase shareability and reproducibility of virus amplicon sequencing analyses.

1/10/23 -> Updated code to produce the NMDS plot in the report, still not fully tested but changes should prevent errors from using deprecated code.

12/16/22 -> We noticed there were some changes in the new version of vegan which we updated to in v2.1.0. We are working to fix the issue but the reports should be generated without error, if you experience an error, you can still find the files used to generate results within the results directories. You can also use --skipReport to skip the report generation all together.

11/27/22 -> we have updated vAMPirus to v2.1.0

Table of contents

Introduction to vAMPirus

Viruses are the most abundant biological entities on the planet and with advances in next-generation sequencing technologies, there has been significant effort in deciphering the global virome and its impact in nature (Suttle 2007; Breitbart 2019). A common method for studying viruses in the lab or environment is amplicon sequencing, an economic and effective approach for investigating virus diversity and community dynamics. The highly targeted nature of amplicon sequencing allows in-depth characterization of genetic variants within a specific taxonomic grouping facilitating both virus discovery and screening within samples. Although, the high volume of amplicon data produced combined with the highly variable nature of virus evolution across different genes and virus-types can make it difficult to scale and standardize analytical approaches. Here we present vAMPirus (https://github.com/Aveglia/vAMPirus.git), an automated and easy-to-use virus amplicon sequencing analysis program that is integrated with the Nextflow workflow manager facilitating easy scalability and standardization of analyses.

vAMPirus Analysis Repository -- Zenodo Community

"Reproducibility and research integrity are essential tenets of every scientific study and discovery. They serve as proof that an established and documented work can be verified, repeated, and reproduced.." - Diaba-Nuhoho and Amponsah-Offeh 2021 (https://tinyurl.com/279recr3)

To promote and simplify the sharing and reproduction of vAMPirus analyses we have created a Zenodo Community 'vAMPirus Analysis Repository' (zenodo.org/communities/vampirusrepo) that is meant to be a central location for all vAMPirus analyses described in a published report/preprint/manuscript. Here investigators will archive and share the non-read files in a compressed folder required to reproduce their virus amplicon analyses.

For the benefit of the field and science as a whole, we recommend uploading all non-read files needed to reproduce your analysis. For more information see the manual here: https://github.com/Aveglia/vAMPirus/blob/master/docs/HelpDocumentation.md#vampirus-analysis-repository----zenodo-community

New in vAMPirus version 2.1.0

  1. Supports single-end read libraries as input.

  2. Changed to have process-specific Conda evironments and Singularity/Docker containers (should help with stability).

  3. Added output of R-based analyses performed during Report generation.

  4. Use of Alignment Ensemble approach from musclev5 for high confidence sequence alignments

  5. Added the use of Transfer Bootstrap Exptecation (TBE) in IQTREE analyses.

New in vAMPirus version 2.0.0 and up

  1. Reduced redundancy of processes and the volume of generated result files per full run (Example - read processing only done once if running DataCheck then Analyze).

  2. Added further taxonomic classification of sequences using the RVDB annotation database and/or NCBI taxonomy files (see manual for more info).

  3. Replaced the used of MAFFT with muscle v5 (Edgar 2021) for higher confidence virus gene alignments (see https://www.biorxiv.org/content/10.1101/2021.06.20.449169v1.full).

  4. Added multiple primer pair removal to deal with multiplexed amplicon libraries.

  5. ASV filtering - you can now provide a "filter" and "keep" database to remove certain sequences from the analysis

  6. (EXPERIMENTAL) Added Minimum Entropy Decomposition analysis using the oligotyping program produced by the Meren Lab. This allows for sequence clustering based on sequence positions of interest (biologically meaningful) or top positions with the highest Shannon's Entropy (read more here: https://merenlab.org/software/oligotyping/ ; and below).

  7. Phylogeny-based clustering ASV or AminoType sequences with TreeCluster (https://github.com/niemasd/TreeCluster; https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0221068)

  8. Color nodes on phylogenetic trees based on Taxonomy or Minimum Entropy Decomposition results or TreeClustering results.

  9. PCoA plots added to Analyze report if NMDS does not converge.

Quick intro

vAMPirus general workflow

The vAMPirus program contains two different pipelines:

  1. DataCheck pipeline: provides the user an interactive html report file containing information regarding sequencing success per sample as well as a preliminary look into the clustering behavior of the data which can be leveraged by the user to inform future analyses

vAMPirus DataCheck

  1. Analyze pipeline: a comprehensive analysis of the provided data producing a wide range of results and outputs which includes an interactive report with figures and statistics. Red line represents path for nucleotide sequences, blue represents path for protein sequences.

vAMPirus Analyze

NOTE => This is a more brief overview of how to install and set up vAMPirus, for more detail see the manual.

Contact/support:

If you have a feature request or any feedback/questions, feel free to email [email protected] or you can open an Issue on GitHub.

Getting started

Quick order of operations

  1. Clone vAMPirus from github

  2. Before launching the vAMPirus.nf, be sure to run the vampirus_startup.sh script to install dependencies and/or databases (NOTE: You will need to have the xz program installed before running startup script when downloading the RVDB database)

  3. Test the vAMPirus installation with the provided test dataset (if you have ran the start up script, you can see EXAMPLE_COMMANDS.txt in the vAMPirus directory for test commands and other examples)

  4. Edit parameters in vampirus.config file

  5. Launch the DataCheck pipeline to get summary information about your dataset (e.g. sequencing success, read quality information, clustering behavior of ASV or AminoTypes)

  6. Change any parameters in vampirus.config file that might aid your analysis (e.g. clustering ID, maximum merged read length, Shannon entropy analysis results)

  7. Launch the Analyze pipeline to perform a comprehensive analysis with your dataset

  8. Explore results directories and produced final reports

Installing dependencies (see Who to cite section)

New in v3.0.0 the dependencies of vAMPirus will be set up by Nextflow upon the initial launch of a vAMPirus pipeline regardless if you plan to use Conda or Singularity/Docker.

Run the start up script to set paths automatically in the configuration file, install Conda, and install any databases.

Installing vAMPirus

Windows OS users

vAMPirus has been set up and tested on Windows 10 using Ubuntu Sandbox (https://wiki.ubuntu.com/WSL) which is a feature of Windows 10 - See Windows Subsystem for Linux -> https://docs.microsoft.com/en-us/windows/wsl/about

All you will need to do is set up the subsystem with whatever flavor of Linux you favor and then you can follow the directions for installation and running as normal.

Search for Linux in the Microsoft store -> https://www.microsoft.com/en-us/search?q=linux

For more detail see the manual.

MacOS users

If you plan to run vAMPirus on a Mac computer, it is recommended that you set up a virtual environment and use Singularity with the vAMPirus Docker image to run your analyses.

You can try to run directly on your system, but there may be errors caused by differences between Apply and GNU versions of tools like "sort".

For more detail see the manual.

Cloning repository

Clone the most recent version of vAMPirus from GitHub using:

git clone https://github.com/Aveglia/vAMPirus.git

OR you can download the most recent stable release vAMPirus v2.0.0 (Polymerase I) by using:

wget https://github.com/Aveglia/vAMPirus/archive/refs/tags/v2.0.0.tar.gz

Setting up vAMPirus dependencies

vAMPirus is integrated with Nextflow (https://www.Nextflow.io) which relies on Java being installed on your system.

If you know you do not have it installed, see here for instructions on installing Java for different operating software's -> https://opensource.com/article/19/11/install-java-linux ; for Debian https://phoenixnap.com/kb/how-to-install-java-ubuntu

If you are unsure, you can check using:

which java

or

java -version

The output from either of those commands should let you know if you have Java on your system.

You will also need to decide if you plan to use a container engine like Docker (https://www.docker.com/) or Singularity (https://singularity.lbl.gov/) or the package manager Conda (https://docs.conda.io/en/latest/).

The startup script provided in the vAMPirus program directory will install Conda for you if you tell it to (see below), however, unless you plan to run in the Vagrant VM as described above, you will need to install Docker or Singularity before running vAMPirus.

vAMPirus startup script

To set up and install vAMPirus dependencies (e.g., Conda, Nextflow), simply move to the vAMPirus directory and run the vampirus_startup.sh script.

cd ./vAMPirus; bash vampirus_startup.sh -h

You can make the vampirus_startup.sh scrip an exectuable with -> chmod +x vampirus_startup.sh ; ./vampirus_startup.sh

The start up script will check your system for Nextflow and Anaconda/Miniconda (can be skipped) and if they are not present, the script will ask if you would like to install these programs. If you answer with 'y', the script will install the missing programs and the installation is complete.

You can also use the startup script to install different databases to use for vAMPirus analyses, these include:

  1. NCBIs Viral protein RefSeq database
  2. The proteic version of the Reference Viral DataBase (RVDB) (See https://f1000research.com/articles/8-530)
  3. The complete NCBI NR protein database

To use the vampirus_startup.sh script to download any or all of these databases listed above you just need to use the "-d" option and you can download the NCBI taxonomy files with the option "-t" (See below).

If we take a look at the vampirus_startup.sh script usage:

General execution:

vampirus_startup.sh -h [-d 1|2|3|4] [-s] [-t]

Command line options:

    [ -h ]                       	Print help information

    [ -d 1|2|3|4 ]                Set this option to create a database directiory within the current working directory and download the following databases for taxonomy assignment:

                                                1 - Download only the proteic version of the Reference Viral DataBase (See the paper for more information on this database: https://f1000research.com/articles/8-530)
                                                2 - Download only NCBIs Viral protein RefSeq database
                                                3 - Download only the complete NCBI NR protein database
                                                4 - Download all three databases

    [ -s ]                       Set this option to skip conda installation and environment set up (you can use if you plan to run with Singularity and the vAMPirus Docker container)

    [ -t ]                       Set this option to download NCBI taxonomy files needed for DIAMOND to assign taxonomic classification to sequences (works with NCBI type databases only, see manual for more information)

For example, if you would like to install Nextflow, download NCBIs Viral Protein RefSeq database, the NCBI taxonomy files to use DIAMOND taxonomy assignment feature, and check/install conda, run:

bash vampirus_startup.sh -d 2 -t

and if we wanted to do the same thing as above but skip the Conda check/installation, run:

bash vampirus_startup.sh -d 2 -s

NOTE -> if you end up installing Miniconda3 using the script you might have to close and re-open the terminal window after everything is completed.

**NEW in version 2.0.0 -> the startup script will automatically download annotation information from RVDB to infer Lowest Common Ancestor (LCA) information for hits during taxonomy assignment. You can also use "-t" to download NCBI taxonomy files to infer taxonomy using the DIAMOND taxonomy classification feature.

Testing vAMPirus installation

The startup script will generate a text file (STARTUP_HELP.txt) that has instructions and example commands to test the installation.

NOTE => If using Singularity, when you run the test command calling for singularity (-profile singularity) Nextflow will set up the dependencies.

Launch commands for testing (you do not need to edit anything in the config files for test commands):

DataCheck test =>

  `/path/to/nextflow run /path/to/vAMPirus.nf -c /path/to/vampirus.config -profile conda,test --DataCheck -resume`

OR

  `nextflow run vAMPirus.nf -c vampirus.config -profile singularity,test --DataCheck -resume`

Analyze test =>

  `/path/to/nextflow run /path/to/vAMPirus.nf -c /path/to/vampirus.config -profile conda,test --Analyze -resume`

OR

  `nextflow run vAMPirus.nf -c vampirus.config -profile singularity,test --Analyze -resume`

Running vAMPirus

If you done the setup and confirmed installation success with the test commands, you are good to get going with your own data. Before getting started edit the configuration file with the parameters and other options you plan to use.

Here are some example vAMPirus launch commands:

DataCheck pipeline =>

Example 1. Launching the vAMPirus DataCheck pipeline using conda and Shannon Entropy Analysis on ASVs and AminoTypes

  `nextflow run vAMPirus.nf -c vampirus.config -profile conda --DataCheck --asvMED --aminoMED`

Example 2. Launching the vAMPirus DataCheck pipeline using Singularity and multiple primer removal with the path to the fasta file with the primer sequences set in the launch command

  nextflow run vAMPirus.nf -c vampirus.config -profile singularity --DataCheck --multi --primers /PATH/TO/PRIMERs.fa

Example 3. Launching the vAMPirus DataCheck pipeline with primer removal by global trimming of 20 bp from forward reads and 26 bp from reverse reads

  nextflow run vAMPirus.nf -c vampirus.config -profile conda --DataCheck --GlobTrim 20,26

Analyze pipeline =>

Example 4. Launching the vAMPirus Analyze pipeline with singularity with ASV and AminoType generation with all accesory analyses (taxonomy assignment, EMBOSS, IQTREE, statistics)

  `nextflow run vAMPirus.nf -c vampirus.config -profile singularity --Analyze --stats`

Example 5. Launching the vAMPirus Analyze pipeline with conda to perform multiple primer removal and protein-based clustering of ASVs, but skip most of the extra analyses

  nextflow run vAMPirus.nf -c vampirus.config -profile conda --Analyze --pcASV --skipPhylogeny --skipEMBOSS --skipTaxonomy --skipReport

Example 6. Launching vAMPirus Analyze pipeline with conda to produce only ASV and AminoType-based results with Shannon Entropy Analyses with the nodes on produced phylogenies colored based on taxnomy hit

  `nextflow run vAMPirus.nf -c vampirus.config -profile conda --Analyze --asvMED --aminoMED --nodeCol TAX --stats`

Resuming analyses =>

If an analysis is interrupted, you can use Nextflows "-resume" option that will start from the last cached "check point".

For example if the analysis launched with the command from Example 6 above was interrupted, all you would need to do is add the "-resume" to the end of the command like so:

  `nextflow run vAMPirus.nf -c vampirus.config -profile conda --Analyze --asvMED --aminoMED --nodeCol TAX --stats -resume`

Who to cite:

If you do use vAMPirus for your analyses, please cite the following ->

  1. vAMPirus - Veglia, A. J., Rivera-Vicéns, R. E., Grupstra, C. G. B., Howe-Kerr, L. I., & Correa, A. M. S. (2024). vAMPirus: A versatile amplicon processing and analysis program for studying viruses. Molecular Ecology Resources, 00, e13978. https://doi.org/10.1111/1755-0998.13978

  2. DIAMOND - Buchfink B, Xie C, Huson DH. (2015) Fast and sensitive protein alignment using DIAMOND. Nat Methods. 12(1):59-60. doi:10.1038/nmeth.3176

  3. FastQC - Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online]. Available online at: http://www.bioinformatics.babraham.ac.uk/projects/fastqc/

  4. fastp - Chen, S., Zhou, Y., Chen, Y., & Gu, J. (2018). fastp: an ultra-fast all-in-one FASTQ preprocessor. Bioinformatics, 34(17), i884-i890.

  5. Clustal Omega - Sievers, F., Wilm, A., Dineen, D., Gibson, T.J., Karplus, K., Li, W., Lopez, R., McWilliam, H., Remmert, M., Söding, J. and Thompson, J.D., 2011. Fast, scalable generation of high‐quality protein multiple sequence alignments using Clustal Omega. Molecular systems biology, 7(1), p.539.

  6. IQ-TREE - Minh, B. Q., Schmidt, H. A., Chernomor, O., Schrempf, D., Woodhams, M. D., Von Haeseler, A., & Lanfear, R. (2020). IQ-TREE 2: New models and efficient methods for phylogenetic inference in the genomic era. Molecular Biology and Evolution, 37(5), 1530-1534.

  7. ModelTest-NG - Darriba, D., Posada, D., Kozlov, A. M., Stamatakis, A., Morel, B., & Flouri, T. (2020). ModelTest-NG: a new and scalable tool for the selection of DNA and protein evolutionary models. Molecular biology and evolution, 37(1), 291-294.

  8. muscle v5 - R.C. Edgar (2021) "MUSCLE v5 enables improved estimates of phylogenetic tree confidence by ensemble bootstrapping" https://www.biorxiv.org/content/10.1101/2021.06.20.449169v1.full.pdf

  9. vsearch - Rognes, T., Flouri, T., Nichols, B., Quince, C., & Mahé, F. (2016). VSEARCH: a versatile open source tool for metagenomics. PeerJ, 4, e2584.

  10. BBMap - Bushnell, B. (2014). BBTools software package. URL http://sourceforge. net/projects/bbmap.

  11. trimAl - Capella-Gutiérrez, S., Silla-Martínez, J. M., & Gabaldón, T. (2009). trimAl: a tool for automated alignment trimming in large-scale phylogenetic analyses. Bioinformatics, 25(15), 1972-1973.

  12. CD-HIT - Fu, L., Niu, B., Zhu, Z., Wu, S., & Li, W. (2012). CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics, 28(23), 3150-3152.

  13. EMBOSS - Rice, P., Longden, I., & Bleasby, A. (2000). EMBOSS: the European molecular biology open software suite.

  14. seqtk - Li, H. (2012). seqtk Toolkit for processing sequences in FASTA/Q formats. GitHub, 767, 69.

  15. UNOISE algorithm - R.C. Edgar (2016). UNOISE2: improved error-correction for Illumina 16S and ITS amplicon sequencing, https://doi.org/10.1101/081257

  16. Oligotyping - A. Murat Eren, Gary G. Borisy, Susan M. Huse, Jessica L. Mark Welch (2014). Oligotyping analysis of the human oral microbiome. Proceedings of the National Academy of Sciences Jul 2014, 111 (28) E2875-E2884; DOI: 10.1073/pnas.1409644111

  17. Balaban M, Moshiri N, Mai U, Jia X, Mirarab S (2019). "TreeCluster: Clustering biological sequences using phylogenetic trees." PLoS ONE. 14(8):e0221068. doi:10.1371/journal.pone.0221068

  18. Wernersson R. Virtual Ribosome--a comprehensive DNA translation tool with support for integration of sequence feature annotation. Nucleic Acids Res. 2006 Jul 1;34(Web Server issue):W385-8. doi: 10.1093/nar/gkl252. PMID: 16845033; PMCID: PMC1538826.

vampirus's People

Contributors

aveglia avatar rivera10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vampirus's Issues

Error executing process > 'AminoType_Phylogeny'

Help solve the problem, please. I suppose it's about the program modeltest-ng. Since only the portable version was installed. Other versions have the output illegal instruction
Debian 10.

Something went wrong. Check error message below and/or log files.
Error executing process > 'AminoType_Phylogeny'

Caused by:
  Process `AminoType_Phylogeny` terminated with an error exit status (2)

Command executed:

  # Protein_Alignment
  pre=$(echo vAMPirusAnalysis_AminoTypes_noTaxonomy.fasta | awk -F ".fasta" '{print $1}' )
  mafft --thread 2 --maxiterate 15000 --auto vAMPirusAnalysis_AminoTypes_noTaxonomy.fasta >${pre}_ALN.fasta
  trimal -in ${pre}_ALN.fasta -out ${pre}_aln.fasta -keepheader -fasta -automated1 -htmlout ${pre}_aln.html
  
  # Protein_ModelTest
  modeltest-ng -i ${pre}_aln.fasta -p 2 -o ${pre}_mt -d aa -s 203 --disable-checkpoint
  
  # Protein_Phylogeny
  if [ "" != "" ];then
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq --redo -T auto 
  
  elif [[ "false" != "false" && "false" != "false" ]];then
      mod=$(tail -12 ${pre}_aln.fasta.log | head -1 | awk '{print $6}')
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq -m ${mod} --redo -nt auto -b 1000
  
  elif [[ "false" != "false" && "false" != "false" ]];then
      mod=$(tail -12 ${pre}_aln.fasta.log | head -1 | awk '{print $6}')
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq -m ${mod} --redo -nt auto -bb 1000 -bnni
  
  elif [ "false" != "false" ];then
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq -m MFP --redo -nt auto -b 1000
  
  elif [ "false" != "false" ];then
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq -m MFP --redo -nt auto -bb 1000 -bnni
  
  else
      iqtree -s ${pre}_aln.fasta --prefix ${pre}_iq -m MFP --redo -nt auto -bb 1000 -bnni
  fi

Command exit status:
  2

Command output:
         4  RTREV              0     -2999.4129     59788.8257        48.7916    0.0000
         5  PMB                0     -3001.4599     59792.9199        52.8857    0.0000
         6  JTT-DCMUT          0     -3002.4592     59794.9185        54.8843    0.0000
         7  JTT                0     -3003.1980     59796.3959        56.3618    0.0000
         8  BLOSUM62           0     -3009.1494     59808.2987        68.2646    0.0000
         9  CPREV              0     -3012.6505     59815.3011        75.2669    0.0000
        10  DCMUT              0     -3020.6636     59831.3273        91.2931    0.0000
  --------------------------------------------------------------------------------
  Best model according to AICc
  ---------------------------
  Model:              LG
  lnL:                -2975.0171
  Frequencies:        0.0791 0.0559 0.0420 0.0531 0.0129 0.0408 0.0716 0.0573 0.0224 0.0622 0.0991 0.0646 0.0230 0.0423 0.0440 0.0612 0.0533 0.0121 0.0342 0.0691
  Inv. sites prop:    -
  Gamma shape:        -
  Score:              59740.0342
  Weight:             0.9999
  ---------------------------
  Parameter importances
  ---------------------------
  P.Inv:              0.0000
  Gamma:              0.0000
  Gamma-Inv:          0.0000
  Frequencies:        -
  ---------------------------
  Model averaged estimates
  ---------------------------
  P.Inv:              0.0000
  Alpha:              1.3558
  Alpha-P.Inv:        1.3725
  P.Inv-Alpha:        0.0000
  Frequencies:        -
  
  Commands:
    > phyml  -i vAMPirusAnalysis_AminoTypes_noTaxonomy_aln.fasta -d aa -m LG -f m -v 0 -a 0 -c 1 -o tlr
    > raxmlHPC-SSE3 -s vAMPirusAnalysis_AminoTypes_noTaxonomy_aln.fasta -m PROTGAMMALG -n EXEC_NAME -p PARSIMONY_SEED
    > raxml-ng --msa vAMPirusAnalysis_AminoTypes_noTaxonomy_aln.fasta --model LG
    > paup -s vAMPirusAnalysis_AminoTypes_noTaxonomy_aln.fasta
    > iqtree -s vAMPirusAnalysis_AminoTypes_noTaxonomy_aln.fasta -m LG
  Summary:
  
  Partition 1/1:
                           Model         Score        Weight
  ----------------------------------------------------------
         BIC               LG+G4     6500.8375        0.8969
         AIC               LG+G4     6118.5972        0.7310
        AICc                  LG    59740.0342        0.9999
  
  Execution results written to vAMPirusAnalysis_AminoTypes_noTaxonomy_mt.out
  Starting tree written to vAMPirusAnalysis_AminoTypes_noTaxonomy_mt.tree

Command error:
  
  004-0154-0 (thread    1) identical     
  004-0154-0 (thread    1) worse      
  
  004-0155-0 (thread    1) identical     
  004-0155-0 (thread    1) worse      
  
  004-0156-1 (thread    2) identical     
  004-0156-1 (thread    1) identical     
  004-0156-1 (thread    1) worse      
  
  004-0157-1 (thread    2) worse      
  
  004-0158-1 (thread    2) identical     
  004-0158-1 (thread    2) worse      
  
  004-0159-0 (thread    1) identical     
  004-0159-0 (thread    1) worse      
  
  004-0160-0 (thread    2) identical     
  004-0160-0 (thread    2) worse      
  
  004-0161-1 (thread    1) identical     
  004-0161-1 (thread    1) worse      
  
  004-0162-1 (thread    2) identical     
  004-0162-1 (thread    2) worse      
  
  Converged.
  
  Converged2.
  done
  dvtditr (aa) Version 7.407
  alg=A, model=BLOSUM62, 1.53, -0.00, -0.00, noshift, amax=0.0
  2 thread(s)
  
  
  Strategy:
   L-INS-i (Probably most accurate, very slow)
   Iterative refinement method (<16) with LOCAL pairwise alignment information
  
  If unsure which option to use, try 'mafft --auto input > output'.
  For more information, see 'mafft --help', 'mafft --man' and the mafft page.
  
  The default gap scoring scheme has been changed in version 7.110 (2013 Oct).
  It tends to insert more gaps into gap-rich regions than previous versions.
  To disable this change, add the --leavegappyregion option.
  
  [error] modeltest-ng: Warning: Substitution schemes will be ignored
  Invalid "--prefix" option.

Work dir:
  /home/sergey/vAMPirus-1.0.1/work/10/1f1ee7200415d6140fe9e55b229236

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

ggtree error: "Error: object ‘get_aes_var’ is not exported by 'namespace:rvcheck'"

I noticed I was getting an error with ggtree on some systems I set vAMPirus up on. This was caused by a conflict with the ggtree version, rvcheck version and R version selected by conda while building the environment.

Here is how to fix the issue:

After you have built the vAMPirus environment using the .yml file provided:

  1. Activate vAMPirus environment

conda activate vAMPirus

  1. Call R

R

  1. Check if there is a ggtree issue:

library(ggtree)

  1. If you get "Error: object ‘get_aes_var’ is not exported by 'namespace:rvcheck'" as ouput do:

devtools::install_version('rvcheck',version='0.1.7')

  1. Chose a mirror and install the right version of rvcheck needed (v0.1.7) -- for some reason after i selected a mirror I recieved a message saying the package didnt exist, just re-run the command form step 4 and it should install fine.

  2. If installation succesful then close out R

q()

  1. Re-open R and test

R

library(ggtree)

Hopefully this fix works for everyone, please let me know if this does not work for anyone.

Error in DataMask$new(.data, caller_env) : argument "caller_env" is missing, with no default

I noticed I was getting an error with ggtree on some systems I set vAMPirus up on. This was caused by a conflict with the ggtree version, dplyr version and R version selected by conda while building the environment.

Here is how to fix the issue:

After you have built the vAMPirus environment using the .yml file provided:

  1. Activate vAMPirus environment:

conda activate vAMPirus

  1. Call R:

R

  1. We are going to downgrade the dplyr version:

devtools::install_version('dplyr',version='1.0.5')

Chose a mirror and install the right version of dplyr needed (v1.0.5) -- for some reason after i selected a mirror I recieved a message saying the package didnt exist, just re-run the command form step 4 and it should install fine.

If installation succesful then close out R and you should be good to test vAMPirus with the test commands!

Hopefully this fix works for everyone, please let me know if this does not work for anyone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.