BioHPC Cloud Software
There are 1204 software titles installed in BioHPC Cloud. The sofware is available on all machines (unless stated otherwise in notes), complete list of programs is below, please click on a title to see details and instructions. Tabular list of software is available here
Please read details and instructions before running any program, it may contain important information on how to properly use the software in BioHPC Cloud.
3D Slicer, 3d-dna, 454 gsAssembler or gsMapper, a5, ABRicate, ABruijn, ABySS, AdapterRemoval, adephylo, Admixtools, Admixture, AF_unmasked, AFProfile, AGAT, agrep, albacore, Alder, AliTV-Perl interface, AlleleSeq, ALLMAPS, ALLPATHS-LG, Alphafold, alphapickle, Alphapulldown, AlphScore, AMOS, AMPHORA, amplicon.py, AMRFinder, analysis, ANGSD, AnnotaPipeline, Annovar, ant, antiSMASH, anvio, apollo, arcs, ARGweaver, aria2, ariba, Arlequin, ART, ASEQ, aspera, assembly-stats, ASTRAL, atac-seq-pipeline, ataqv, athena_meta, ATLAS, Atlas-Link, ATLAS_GapFill, atom, ATSAS, Augustus, AWS command line interface, AWS v2 Command Line Interface, axe, axel, BA3, BactSNP, bakta, bamsnap, bamsurgeon, bamtools, bamUtil, barcode_splitter, BarNone, Basset, BayeScan, Bayescenv, bayesR, baypass, bazel, BBMap/BBTools, BCFtools, BCL convert, bcl2fastq, BCP, bdbag, Beagle, beagle-lib, BEAST, BEAST X, Beast2, bed2diffs, bedops, BEDtools, bettercallsal, bfc, bgc, bgen, bicycle, BiG-SCAPE, bigQF, bigtools, bigWig, bioawk, biobakery, biobambam, Bioconductor, biom-format, BioPerl, BioPython, Birdsuite, biscuit, Bismark, Blackbird, blasr, BLAST, BLAST_to_BED, blast2go, BLAT, BlobToolKit, BLUPF90, BMGE, bmtagger, bonito, Boost, Bowtie, Bowtie2, BPGA, Bracken, BRAKER, BRAT-NextGen, BRBseqTools, BreedingSchemeLanguage, breseq, brocc, BSBolt, bsmap, BSseeker2, btyper3, BUSCO, BUSCO Phylogenomics, BWA, bwa-mem2, bwa-meth, bwtool, cactus, CAFE, CAFE5, caffe, cagee, canu, Canvas, CAP3, caper, CarveMe, catch, cBar, CBSU RNAseq, CCMetagen, CCTpack, cd-hit, cdbfasta, cdo, CEGMA, CellRanger, cellranger-arc, cellranger-atac, cellranger-dna, centrifuge, centroFlye, CFM-ID, CFSAN SNP pipeline, CheckM, CheckM2, chimera, ChimeraTE, chimerax, chip-seq-pipeline, chromosomer, Circlator, Circos, Circuitscape, CITE-seq-Count, ClermonTyping, clues, CLUMPP, clust, Clustal Omega, CLUSTALW, Cluster, cmake, CMSeq, CNVnator, coinfinder, colabfold, CombFold, Comparative-Annotation-Toolkit, compat, CONCOCT, Conda, Cooler, copyNumberDiff, cortex_var, CoverM, crabs, CRISPRCasFinder, CRISPResso, crispron, Cromwell, CrossMap, CRT, cuda, Cufflinks, curatedMetagenomicDataTerminal, cutadapt, cuteSV, Cytoscape, dadi, dadi-1.6.3_modif, dadi-cli, danpos, DAS_Tool, dashing, DBSCAN-SWA, dDocent, DeconSeq, Deepbinner, deeplasmid, DeepTE, deepTools, Deepvariant, defusion, delly, DESMAN, destruct, DETONATE, dfast, diamond, dipcall, diploSHIC, discoal, Discovar, Discovar de novo, distruct, DiTASiC, DIYABC, dnmtools, Docker, dorado, DRAM, dREG, dREG.HD, drep, Drop-seq, dropEst, dropSeqPipe, dsk, dssat, Dsuite, dTOX, duphold, DWGSIM, dynare, ea-utils, earlgrey, ecCodes, ecopcr, ecoPrimers, ectyper, EDGE, edirect, EDTA, eems, EgaCryptor, EGAD, eggnog-mapper, EIGENSOFT, elai, ElMaven, EMBLmyGFF3, EMBOSS, EMIRGE, Empress, enfuse, EnTAP, entropy, epa-ng, ephem, epic2, ermineJ, ete3, EukDetect, EukRep, EVE, EVM, exabayes, exonerate, ExpansionHunterDenovo-v0.8.0, eXpress, FALCON, FALCON_unzip, Fast-GBS, fasta, FastAAI, FastANI, fastcluster, fastGEAR, FastME, FastML, fastp, FastQ Screen, fastq-multx-1.4.3, fastq_demux, fastq_pair, fastq_species_detector, FastQC, fastqsplitter, fastsimcoal2, fastspar, fastStructure, FastTree, FASTX, fcs, feems, feh, FFmpeg, fgbio, ficle, figaro, Fiji, Filtlong, fineRADstructure, fineSTRUCTURE, FIt-SNE, FlaGs2, flash, flash2, flexbar, Flexible Adapter Remover, Flye, FMAP, FragGeneScan, FragGeneScan, FRANz, freebayes, FSA, funannotate, FunGene Pipeline, FunOMIC, G-PhoCS, GADMA, GAEMR, Galaxy, Galaxy in Docker, GATK, gatk4, gatk4amplicon.py, gblastn, Gblocks, GBRS, gcc, GCTA, GDAL, gdc-client, GEM library, GEMMA, GeMoMa, GENECONV, geneid, GeneMark, GeneRax, Genespace, genomad, Genome STRiP, Genome Workbench, GenomeMapper, Genomescope, GenomeThreader, genometools, GenomicConsensus, genozip, gensim, GEOS, germline, gerp++, GET_PHYLOMARKERS, gfaviz, GffCompare, gffread, giggle, git, glactools, GlimmerHMM, GLIMPSE, GLnexus, Globus connect personal, GMAP/GSNAP, gmx_MMPBSA, GNU Compilers, GNU parallel, go-perl, GO2MSIG, GONE, GoShifter, gradle, graftM, grammy, GraPhlAn, graphtyper, graphviz, greenhill, GRiD, gridss, Grinder, grocsvs, GROMACS, GroopM, GSEA, gsort, GTDB-Tk, GTFtools, Gubbins, gunc, GUPPY, gvcftools, hail, hal, HapCompass, HAPCUT, HAPCUT2, hapflk, HaploMerger, Haplomerger2, haplostrips, HaploSync, HapSeq2, harpy, HarvestTools, haslr, hdf5, helixer, hget, hh-suite, HiC-Pro, hic_qc, HiCExplorer, HiFiAdapterFilt, hifiasm, hificnv, HISAT2, HMMER, Homer, HOTSPOT, HTSeq, htslib, https://github.com/CVUA-RRW/RRW-PrimerBLAST, hugin, humann, HUMAnN2, hybpiper, HyLiTE, Hyper-Gen, hyperopt, HyPhy, hyphy-analyses, iAssembler, IBDLD, IBDNe, IBDseq, idba, IDBA-UD, idemux, IDP-denovo, idr, idseq, IgBLAST, IGoR, IGV, IMa2, IMa2p, IMAGE, ImageJ, ImageMagick, Immcantation, impute2, impute5, IMSA-A, INDELseek, infernal, Infomap, inspector, inStrain, inStrain_lite, InStruct, Intel MKL, InteMAP, InterProScan, ipyrad, IQ-TREE, iRep, isoseq, JaBbA, jags, Jane, java, jbrowse, JCVI, jellyfish, jsalignon/cactus, juicer, julia, jupyter, jupyterlab, kaiju, kallisto, Kent Utilities, keras, khmer, kinfin, king, kma, KMC, KmerFinder, KmerGenie, kneaddata, kraken, KrakenTools, KronaTools, kSNP, kWIP, LACHESIS, lammps, LAPACK, lapels, LAST, lastz, lcMLkin, LDAK, LDhat, LeafCutter, leeHom, lep-anchor, Lep-MAP3, LEVIATHAN, lftp, Liftoff, lifton, Lighter, LinkedSV, LINKS, localcolabfold, LocARNA, LocusZoom, lofreq, longranger, Loupe, LS-GKM, LTR_retriever, LUCY, LUCY2, LUMPY, lyve-SET, m6anet, Macaulay2, MACE, MACS, MaCS simulator, MACS2, macs3, maffilter, MAFFT, mafTools, MAGeCK, MAGeCK-VISPR, Magic-BLAST, magick, MAGScoT, MAKER, manta, mapDamage, mapquik, MAQ, MARS, MASH, mashtree, Mashtree, MaSuRCA, MATLAB, Matlab_runtime, Mauve, MaxBin, MaxQuant, McClintock, mccortex, mcl, MCscan, MCScanX, medaka, medusa, megahit, MeGAMerge, MEGAN, MELT, MEME Suite, MERLIN, merqury, MetaBAT, MetaBinner, MetaboAnalystR, MetaCache, MetaCRAST, metaCRISPR, metamaps, MetAMOS, MetaPathways, MetaPhlAn, metapop, metaron, MetaVelvet, MetaVelvet-SL, metaWRAP, methpipe, mfeprimer, MGmapper, MicrobeAnnotator, microtrait, MIDAS, MiFish, Migrate-n, mikado, MinCED, minigraph, Minimac3, Minimac4, minimap2, miniprot, mira, miRDeep2, mirge3, miRquant, MISO, MITObim, MitoFinder, mitohelper, MitoHiFi, mity, MiXCR, MixMapper, MKTest, mlift, mlst, MMAP, MMSEQ, MMseqs2, MMTK, MobileElementFinder, modeltest, MODIStsp-2.0.5, module, moments, momi, MoMI-G, mongo, mono, monocle3, mosdepth, mothur, MrBayes, mrcanavar, mrsFAST, msdial, msld, MSMC, msprime, MSR-CA Genome Assembler, msstats, MSTMap, mugsy, MultiQC, multiz-tba, MUMandCo, MUMmer, mummer2circos, muscle, MUSIC, Mutation-Simulator, muTect, myte, MZmine, nag-compiler, namfinder, nanocompore, nanofilt, NanoPlot, Nanopolish, nanovar, ncbi_datasets, ncftp, ncl, NECAT, Nemo, Netbeans, NEURON, new_fugue, Nextflow, NextGenMap, NextPolish2, nf-core/rnaseq, ngmlr, NGS_data_processing, NGSadmix, ngsDist, ngsF, ngsLD, NGSNGS, NgsRelate, ngsTools, NGSUtils, NINJA, NLR-Annotator, NLR-Parser, NLRtracker, Novoalign, NovoalignCS, nQuire, NRSA, NuDup, numactl, nvidia-docker, nvtop, Oases, OBITools, Octave, OMA, Oneflux, OpenBLAS, openmpi, openslide, openssl, ORFeus, orthodb-clades, OrthoFinder, orthologr, Orthomcl, pacbio, PacBioTestData, PAGIT, pairtools, pal2nal, paleomix, PAML, panacus, panaroo, pandas, pandaseq, pandoc, pangene, PanPhlAn, Panseq, pantools, Parsnp, PASA, PASTEC, PAUP*, pauvre, pb-assembly, pbalign, pbbam, pbh5tools, PBJelly, pblat, pbmm2, PBSuite, pbsv, pbtk, PCAngsd, pcre, pcre2, PeakRanger, PeakSplitter, PEAR, PEER, PennCNV, peppro, PERL, PfamScan, pgap, PGDSpider, ph5tools, Phage_Finder, pharokka, phasedibd, PHAST, phenopath, Phobius, PHRAPL, PHYLIP, PhyloCSF, phyloFlash, phylophlan*, PhyloPhlAn2, phylophlan3, phyluce, PhyML, phyx, Picard, PICRUSt2, pigz, Pilon, Pindel, piPipes, PIQ, pixy, PlasFlow, platanus, Platypus, plink, plink2, Plotly, plotsr, plumed, pocp, Point Cloud Library, popbam, PopCOGenT, PopLDdecay, Porechop, poretools, portcullis, POUTINE, pplacer, PRANK, preseq, pretext-suite, primalscheme, primer3, PrimerBLAST, PrimerPooler, prinseq, prodigal, progenomics, progressiveCactus, PROJ, prokka, Proseq2, ProtExcluder, protolite, PSASS, psmc, psutil, pullseq, purge_dups, pyani, PyCogent, pycoQC, pyfaidx, pyGenomeTracks, PyMC, pymol-open-source, pyopencl, pypy, pyRAD, pyrho, Pyro4, pyseer, PySnpTools, python, PyTorch, PyVCF, qapa, qcat, QIIME, QIIME2, QTCAT, Quake, Qualimap, QuantiSNP2, QUAST, quickmerge, QUMA, QuPath, R, RACA, racon, rad_haplotyper, RADIS, RadSex, RagTag, rapt, RAPTR-SV, RATT, raven, RAxML, raxml-ng, Ray, rck, rclone, Rcorrector, RDP Classifier, REAGO, REAPR, Rebaler, reCOGnizer, Red, ReferenceSeeker, regenie, regtools, Relate, RelocaTE2, Repbase, RepeatMasker, RepeatModeler, RERconverge, ReSeq, resistify, RevBayes, RFdiffusion, RFMix, RGAAT, rgdal, RGI, Rgtsvm, Ribotaper, ripgrep, rJava, rMATS, RNAMMER, rnaQUAST, Rnightlights, roadies, Roary, Rockhopper, rohan, RoseTTAFold-All-Atom, RoseTTAFold2NA, rphast, Rqtl, Rqtl2, RSAT, RSEM, RSeQC, RStudio, rtfbs_db, ruby, run_dbcan, sabre, SaguaroGW, salmon, SALSA, Sambamba, samblaster, sample, SampleTracker, samplot, samtabix, Samtools, Satsuma, Satsuma2, SCALE, scanorama, SCE-VCF, scikit-learn, Scoary, scoary-2, scTE, scythe, seaborn, SEACR, SecretomeP, segul, self-assembling-manifold, selscan, seqfu, seqkit, SeqPrep, seqtk, SequelTools, sequenceTubeMap, Seurat, sf, sgrep, sgrep sorted_grep, SHAPEIT, SHAPEIT4, SHAPEIT5, shasta, Shiny, shoelaces, shore, SHOREmap, shortBRED, SHRiMP, sickle, sift4g, SignalP, SimPhy, simuPOP, sina, SINGER, singularity, sinto, sirius, sistr_cmd, skani, SKESA, skewer, SLiM, SLURM, smap, smash, smcpp, smoove, SMRT Analysis, SMRT LINK, snakemake, snap, SnapATAC, snapatac2, SNAPP, SnapTools, snATAC, SNeP, Sniffles, snippy, snp-sites, snpArcher, SnpEff, SNPgenie, SNPhylo, SNPsplit, SNVPhyl, SOAP2, SOAPdenovo, SOAPdenovo-Trans, SOAPdenovo2, SoloTE, SomaticSniper, songbird, sorted_grep, spaceranger, SPAdes, SPALN, SparCC, sparsehash, SPARTA, speedseq, split-fasta, SQANTI3, sqlite, SqueezeMeta, SQuIRE, SRA Toolkit, srst2, ssantichaivekin/empress, stacks, Stacks 2, stairway-plot, stampy, STAR, staramr, Starcode, statmodels, stellarscope, STITCH, STPGA, StrainPhlAn, strawberry, Strelka, stringMLST, StringTie, STRUCTURE, Structure_threader, Struo2, stylegan2-ada-pytorch, subread, sumatra, supernova, suppa, SURPI, surpyvor, SURVIVOR, sutta, SV-plaudit, SVaBA, SVclone, SVDetect, svengine, SVseq2, svtools, svtyper, svviz2, SWAMP, sweed, SweepFinder, SweepFinder2, sweepsims, swiss2fasta.py, sword, syri, tabix, tagdust, Taiji, tama, Tandem Repeats Finder (TRF), tardis, TargetP, TASSEL 3, TASSEL 4, TASSEL 5, tax_myPHAGE, tbl2asn, tcoffee, TE-Aid, telescope, TensorFlow, TEToolkit, TEtranscripts, texlive, TFEA, tfTarget, thermonucleotideBLAST, ThermoRawFileParser, TMHMM, tmux, Tomahawk, TopHat, Torch, traitRate, Trans-Proteomic Pipeline (TPP), TransComb, TransDecoder, TRANSIT, transrate, TRAP, tree, treeCl, treemix, treePL, Trim Galore!, trimal, trimmomatic, Trinity, Trinotate, TrioCNV2, tRNAscan-SE, Trycycler, UBCG2, UCSC Kent utilities, ullar, ultra, ultraplex, UMAP, UMI-tools, umi-transfer, UMIScripts, Unicycler, UniRep, unitig-caller, unrar, usearch, VALET, valor, vamb, variabel, Variant Effect Predictor, VarScan, VCF-kit, vcf2diploid, vcf2phylip, vcfCooker, vcflib, vcftools, vdjtools, Velvet, vep, VESPA, vg, Vicuna, ViennaRNA, VIP, viral-ngs, virmap, VirSorter, VirusDetect, VirusFinder 2, visidata, vispr, VizBin, vmatch, vscode, vsearch, vt, WASP, webin-cli, wget, wgs-assembler (Celera), WGSassign, What_the_Phage, wiggletools, windowmasker, wine, Winnowmap, Wise2 (Genewise), wombat, Xander_assembler, xpclr, yaha, yahs, yap
Details for RStudio (If the copy-pasted commands do not work, use this tool to remove unwanted characters)
Name: | RStudio |
Version: | 2023.12.1+402-1 |
OS: | Linux |
About: | RStudio is an integrated development environment (IDE) for R |
Added: | 3/1/2016 7:40:28 PM |
Updated: | 2/28/2024 1:01:46 PM |
Link: | https://www.rstudio.com/ |
Manual: | https://support.rstudio.com/hc/en-us/categories/200035113-Documentation |
Download: | https://www.rstudio.com/products/rstudio/download/ |
Notes: | Default port of Rstudio server is changed to 8016. If your Rstudio on port 8015 stops working due to a recent change in Cornell campus network, you will need to restart the Rstudio server:
/programs/rstudio_server/rstudio_stop
/programs/rstudio_server/rstudio_start
After this, open web browser to http://cbsuxxxxx.biohpc.cornell.edu:8016
There are multiple ways to use Rstudio at BioHPC. First we describe the pros/cons to help you decide. After that we give specific instructions for getting started with each option.
-
Rstudio Server is the most common choice. It allows you to have an Rstudio session that you connect to within a web browser. It is persistent, meaning that it keeps working even if you lose connection with the server, you can reconnect to it and your session will still be running. However, it has two important limitations:
-
Only one “Rstudio Server” can run on each BioHPC machine. The server can service many users, so anyone with access to the machine can log in and have their own Rstudio session once the server is started. The main limitation is that this server only runs a single version of R. If multiple users want to use Rstudio Server from the same machine, with different versions of R, this will not work.
-
Each user can only have one active Rstudio session at a time on a particular machine. If you have access to multiple machines at BioHPC, you can have a different session on each machine, but only if you move your session info out of your home directory (see specific instructions in the Rstudio Server setup section below).
-
RStudio Desktop is an X-windows (graphical) software that each user can run from the command line. It is similar to Rstudio server, but does not operate through a web browser and is not persistent (unless you run it over VNC, which is not always reliable). Most users find the graphics are slower with this option. But there are no limitations about number of instances per machine, or versions of R.
-
You can run Rstudio Server in a docker container. In this way, you can have multiple independent instances of Rstudio server running on the same machine, each running different versions of R, if desired. The downside to this solution is that your R packages need to be installed in the docker container, so you cannot automatically use the packages installed on the BioHPC machines or in your home directory. However, once you have your R environment configured within your docker container, you can save this container as an image, which can be reused on any linux machine, or shared with others who may want to reproduce your research environment.
Setting up RStudio Server (without docker)
***Start-up instructions (but please read Notes below)***
-
SSH Login (through Putty or Mac Terminal) to the BioHPC server you want to run RStudio.
-
Run the command "/programs/rstudio_server/mv_dir" if you want to keep the very big session data files under /workdir (see Note 2 below)
-
Run the command "/programs/rstudio_server/rstudio_start" to start RStudio server. You may get a message that Rstudio is already running. This may mean that another user on the same machine has already started Rstudio. In this case, proceed to step 4.
-
From a browser on your laptop/desktop computer, go to this site "http://cbsuxxxxxx.biohpc.cornell.edu:8016". (replacing the "cbsuxxxxx" with the acutal machine name ). Sometimes, you might need to reshresh the page once. Log in with your BioHPC username and password.
-
If you want to stop the RStudio Server, use the command "/programs/rstudio_server/rstudio_stop". Be aware that this will stop all Rstudio sessions on the machine (including other user's, if it is a hosted machine or you have a shared reservation).
*** Notes ***
- Rstudio Server runs through http (not https), but as BioHPC is only accessible through Cornell local network, it is reasonably safe.
- About your Rstudio session data (~/.local/share/rstudio):
-
Alternative versions of R: By default, R studio uses 4.2.1-r9. If you want to use another version of R, e.g. R v4.0.5, start R studio with "/programs/rstudio_server/rstudio_start 4.0.5-r9", supported versions include 4.0.5-r9, 4.1.3-r9, 4.2.1-r9, 4.3.2, 4.4.2. When you switch between versions, make sure you delete the session data and restart Rstudio, i.e.:
/programs/rstudio_server/rstudio_stop
/programs/rstudio_server/mv_dir
/programs/rstudio_server/rstudio_start 4.0.5-r9
- Avoid swapping of R session to disk: By default, R studio server will swap your session to disk after 2 hours of inactivity, thus freeing precious RAM memory for use by other users and applications. With large data sets, this may cause delays when your sessions has to be recovered from disk. Swapping can be avoided by specifying the option
noswap as the last argument to rstudio_start . For example,
/programs/rstudio_server/rstudio_start 4.2.1-r9 noswap
will start Rstudio with R version 4.2.1-r9 and no swapping, whereas
/programs/rstudio_server/rstudio_start noswap
will start R studio with the default version of R and no swapping. Please note that runing R studio without swapping on a shared machine may adversely impact other users by depriving their applications of memory! Use noswap considerately!
- Change default network port: By default, R studio server will use port 8016, so you can access it with "http://cbsbsuxxxxxx.biohpc.cornell.edu:8016". However, this port can be changed by adding new port number to the end of the command line parameters, which may be necessary if another service is already using port 8016. Please remember that the port MUST be between 8009 and 8039, you will then access your server with "http://cbsbsuxxxxxx.biohpc.cornell.edu:80XX", where 80XX is the new port number. You can use the other options as well, as long as port number is the last one, i.e. all examples below will run R studio server on port 8022:
/programs/rstudio_server/rstudio_start 4.2.1-r9 noswap 8022
/programs/rstudio_server/rstudio_start noswap 8022
/programs/rstudio_server/rstudio_start 8022
Running Rstudio Desktop
Rstudio Desktop is an X-windows software. If you do not know how to run an X-windows software on BioHPC lab, read this page: https://cbsu.tc.cornell.edu/lab/userguide.aspx?a=access#b (read the section under under How to run graphical applications)
If you have never run rstudio on the server before, run this command:
/programs/rstudio_server/mv_dir
To start the software, use this command:
#to start Rstudio with default R v4.0
rstudio
#to start Rstudio with a different version, e.g. R v4.4.2
export RSTUDIO_WHICH_R=/programs/R-4.4.2/bin/R
rstudio
Running Rstudio Server in Docker
To start docker container, use the commands:
#On the host machine, create a local directory (any name) which would serve as rstudio session directory
mkdir /workdir/$USER/rstudio_dir
#start the docker container from Rocker/rstudio image
docker1 run -d -p 8009:8787 rocker/rstudio
#get the container ID, replace xxxxxxx below with your container ID
docker1 ps
#add your BioHPC user ID and primary group ID into Docker container
docker1 exec xxxxxxx groupadd -g `id -g` `id -g -n $USER`
docker1 exec xxxxxxx useradd -m -u `id -u` -g `id -g` -d /home/$USER $USER
#set password for your user account within container, this is the password you will use later to login to Rstudio
docker1 exec -it xxxxxxx passwd $USER
#make $USER as a sudo user in container
docker1 exec xxxxxxx usermod -aG sudo $USER
#make an alias /home/$USER/.local that point to your local /workdir/$USER/rstudio_dir
docker1 exec --user $USER xxxxxxx ln -s /workdir/rstudio_dir /home/$USER/.local
At this point, you might want to commit this container to a new image, so that you can re-use it later
docker1 commit 30b31021e48e myrstudio
#you can also export to a portable image file so that you can use on any servers later
docker1 save -o myrstudio.tar biohpc_$USER/myrstudio
Then, if you are on the Cornell network (or connected to VPN), you should then be able to go to http://cbsuxxxx.biohpc.cornell.edu:8009 and log in with the BioHPC user name, and password your just set (Replace cbsuxxxx with actual machine name). If you get an error about the port already being used after the docker1 run command, you can try another available port: 8009-8039 are open, although 8016 is used by the non-docker Rstudio. Rstudio runs on port 8787 inside the docker container, but this is mapped to port 8009 on the BioHPC server. If you want to have multiple Rstudio sessions, you can repeat the "docker1 run" command with different ports (keep 8787 the same, but change 8009 to something between 8009-8039).
All your files in /workdir/$USER/ will be mounted at /workdir/ within the container.
The example above will run R version 4.1.0, most other versions of R are also available (see https://hub.docker.com/r/rocker/rstudio/).
If you need to install Linux libraries, you can do "sudo apt update" and "sudo apt install" to install libraries from the Terminal window in Rstudio.
You can install your R packages within the docker container (you can do this inside your Rstudio session using the install.packages() function, for example). It is possible you may also need to open a bash terminal within the docker container to install any system libraries required by your R packages. We can guide you through this if you need help. Once you have all your packages installed, you can save the container as an image and use it on any linux machine, or share it with others to reproduce your research.
More information about docker at biohpc is here: https://biohpc.cornell.edu/lab/userguide.aspx?a=software&i=340#c.
Important: you need to restart the R session file regularly.
If you can still login to the Rstudio web page, follow instructions here to restart R:
https://argoshare.is.ed.ac.uk/healthyr_book/restart-r-regularly.html
Otherwise, do the following in Linux shell, then restart the Rstudio container:
rm -fr /workdir/$USER/rstudio_dir
mkdir /workdir/$USER/rstudio_dir
|
Notify me if this software is upgraded or changed [You need to be logged in to use this feature]