[{"data":1,"prerenderedAt":2554},["ShallowReactive",2],{"navigation":3,"/genomics-platform/analyzing-data/interactive-nodes":421,"/genomics-platform/analyzing-data/interactive-nodes-surround":2549},[4,19,25,131,197],{"title":5,"_path":6,"children":7,"icon":18},"Overview","/overview",[8,9,12,15],{"title":5,"_path":6},{"title":10,"_path":11},"About our Ecosystem","/overview/ecosystem",{"title":13,"_path":14},"Citing St. Jude Cloud","/overview/citing-stjude-cloud",{"title":16,"_path":17},"Frequently Asked Questions","/overview/faq","sjc-icon:child-logo",{"title":20,"_path":21,"children":22,"icon":24},"CC4K","/cc4k",[23],{"title":5,"_path":21},"sjc-icon:ontology-tree",{"title":26,"_path":27,"children":28,"icon":130},"Genomics Platform","/genomics-platform",[29,49,62,80,99],{"title":30,"_path":31,"children":32},"Getting Started","/genomics-platform/getting-started",[33,35,38,41,44,46],{"title":5,"_path":34},"/genomics-platform/getting-started/overview",{"title":36,"_path":37},"Accounts and Billing","/genomics-platform/getting-started/accounts-and-billing",{"title":39,"_path":40},"Making a Data Request","/genomics-platform/getting-started/making-a-data-request",{"title":42,"_path":43},"Filling Out the DAA","/genomics-platform/getting-started/filling-out-the-daa",{"title":16,"_path":45},"/genomics-platform/getting-started/faq",{"title":47,"_path":48},"Glossary","/genomics-platform/getting-started/glossary",{"title":50,"_path":51,"children":52},"About Our Data","/genomics-platform/about-our-data",[53,56,59],{"title":54,"_path":55},"Data Sets and Data Access Units","/genomics-platform/about-our-data/data-sets-and-data-access-units",{"title":57,"_path":58},"File Formats and Sequencing Information","/genomics-platform/about-our-data/file-formats-and-sequencing-information",{"title":60,"_path":61},"Metadata and Clinical Information","/genomics-platform/about-our-data/metadata-and-clinical-information",{"title":63,"_path":64,"children":65},"Managing Data","/genomics-platform/managing-data",[66,68,71,74,77],{"title":5,"_path":67},"/genomics-platform/managing-data/overview",{"title":69,"_path":70},"Upload/Download Data (Local)","/genomics-platform/managing-data/upload-download-data-local",{"title":72,"_path":73},"Upload/Download Data (Cluster)","/genomics-platform/managing-data/upload-download-data-cluster",{"title":75,"_path":76},"Upload/Download Data (DNAnexus)","/genomics-platform/managing-data/upload-download-data-dnanexus",{"title":78,"_path":79},"Renewing Your DAA","/genomics-platform/managing-data/renewing-your-daa",{"title":81,"_path":82,"children":83},"Analyzing Data","/genomics-platform/analyzing-data",[84,87,90,93,96],{"title":85,"_path":86},"Command Line Interaction","/genomics-platform/analyzing-data/command-line-interaction",{"title":88,"_path":89},"Running Our Workflows","/genomics-platform/analyzing-data/running-our-workflows",{"title":91,"_path":92},"Creating a Cloud Application","/genomics-platform/analyzing-data/creating-a-cloud-app",{"title":94,"_path":95},"Interactive Nodes","/genomics-platform/analyzing-data/interactive-nodes",{"title":97,"_path":98},"Visualizing NGS Data","/genomics-platform/analyzing-data/visualizing-ngs-data",{"title":100,"_path":101,"children":102},"Workflow Guides","/genomics-platform/workflow-guides",[103,106,109,112,115,118,121,124,127],{"title":104,"_path":105},"ChIP-Seq Peak Calling","/genomics-platform/workflow-guides/chipseq",{"title":107,"_path":108},"cis-X","/genomics-platform/workflow-guides/cisx",{"title":110,"_path":111},"MethylationToActivity","/genomics-platform/workflow-guides/methylation-to-activity",{"title":113,"_path":114},"Mutational Signatures","/genomics-platform/workflow-guides/mutational-signatures",{"title":116,"_path":117},"Rapid RNA-Seq","/genomics-platform/workflow-guides/rapid-rnaseq",{"title":119,"_path":120},"RNA-Seq Expression Classification","/genomics-platform/workflow-guides/rnaseq-expression-classification",{"title":122,"_path":123},"SEAseq","/genomics-platform/workflow-guides/seaseq",{"title":125,"_path":126},"SequencErr","/genomics-platform/workflow-guides/sequencerr",{"title":128,"_path":129},"WARDEN Differential Gene Expression","/genomics-platform/workflow-guides/warden","sjc-icon:genomics-platform",{"title":132,"_path":133,"children":134,"icon":196},"PeCan","/pecan",[135,149,156,174,181,190],{"title":5,"_path":136,"children":137},"/pecan/overview",[138,140,143,146],{"title":30,"_path":139},"/pecan/overview/getting-started",{"title":141,"_path":142},"Methods and Data","/pecan/overview/methods-and-data",{"title":144,"_path":145},"Videos","/pecan/overview/videos",{"title":147,"_path":148},"FAQ","/pecan/overview/faq",{"title":150,"_path":151,"children":152},"Cohort Building","/pecan/cohort-building",[153],{"title":154,"_path":155},"Create Custom Cohorts","/pecan/cohort-building/cohort-building",{"title":157,"_path":158,"children":159},"Data Facets","/pecan/data-facets",[160,163,165,168,171],{"title":161,"_path":162},"Variants","/pecan/data-facets/variants",{"title":113,"_path":164},"/pecan/data-facets/mutational-signatures",{"title":166,"_path":167},"Expression","/pecan/data-facets/expression",{"title":169,"_path":170},"Histology","/pecan/data-facets/histology",{"title":172,"_path":173},"Use Cases","/pecan/data-facets/use-cases",{"title":175,"_path":176,"children":177},"Accessibility","/pecan/accessibility",[178],{"title":179,"_path":180},"Keyboard Shortcuts","/pecan/accessibility/keyboard-shortcuts",{"title":182,"_path":183,"children":184},"PeCan PIE","/pecan/pecan-pie",[185,188],{"title":186,"_path":187},"What is PIE","/pecan/pecan-pie/what-is-pie",{"title":147,"_path":189},"/pecan/pecan-pie/faq",{"title":191,"_path":192,"children":193},"Release Notes","/pecan/release-notes",[194],{"title":195,"_path":192},"PeCan Release Notes","sjc-icon:pecan",{"title":198,"_path":199,"children":200,"icon":420},"Visualization Community","/visualization-community",[201,215,246,307,411],{"title":5,"_path":202,"children":203},"/visualization-community/overview",[204,207,210,213],{"title":205,"_path":206},"What is Visualization Community","/visualization-community/overview/what-is-visualization-community",{"title":208,"_path":209},"What are ProteinPaint and GenomePaint","/visualization-community/overview/what-are-proteinpaint-and-genome-paint",{"title":211,"_path":212},"Data Types","/visualization-community/overview/data-types-and-graphs",{"title":147,"_path":214},"/visualization-community/overview/faq",{"title":30,"_path":216,"children":217},"/visualization-community/getting-started",[218,220,223,226,229,232,235,238,241,243],{"title":5,"_path":219},"/visualization-community/getting-started/overview",{"title":221,"_path":222},"How to Sign-in","/visualization-community/getting-started/how-to-sign-in",{"title":224,"_path":225},"How to Use the VisEditor","/visualization-community/getting-started/how-to-use-the-viseditor",{"title":227,"_path":228},"Tracks and Apps","/visualization-community/getting-started/tracks-and-apps",{"title":230,"_path":231},"Manage Your Data","/visualization-community/getting-started/manage-your-data",{"title":233,"_path":234},"Collections & Communities","/visualization-community/getting-started/collections-and-communities",{"title":236,"_path":237},"Public vs. Private Visualizations","/visualization-community/getting-started/public-vs-private-visualizations",{"title":239,"_path":240},"Embedding","/visualization-community/getting-started/embedding",{"title":144,"_path":242},"/visualization-community/getting-started/videos",{"title":244,"_path":245},"NEW Data Download","/visualization-community/getting-started/new-data-download",{"title":247,"_path":248,"children":249},"Code Block Library","/visualization-community/code-block-library",[250,253,256,259,262,265,268,271,274,277,280,283,286,289,292,295,298,301,304],{"title":251,"_path":252},"Code Block Basics","/visualization-community/code-block-library/code-block-basics",{"title":254,"_path":255},"Allelic Imbalance","/visualization-community/code-block-library/allelic-imbalance",{"title":257,"_path":258},"Arc","/visualization-community/code-block-library/arc",{"title":260,"_path":261},"BAM","/visualization-community/code-block-library/bam",{"title":263,"_path":264},"BigWig","/visualization-community/code-block-library/bigwig",{"title":266,"_path":267},"BigWig Stranded","/visualization-community/code-block-library/bigwig-stranded",{"title":269,"_path":270},"Expression Rank","/visualization-community/code-block-library/expression-rank",{"title":272,"_path":273},"Hi-C","/visualization-community/code-block-library/hi-c",{"title":275,"_path":276},"Heatmap","/visualization-community/code-block-library/heatmap",{"title":278,"_path":279},"JSON BED","/visualization-community/code-block-library/json-bed",{"title":281,"_path":282},"Lollipop","/visualization-community/code-block-library/lollipop",{"title":284,"_path":285},"MA Volcano","/visualization-community/code-block-library/ma-volcano",{"title":287,"_path":288},"Profile Gene Value","/visualization-community/code-block-library/profile-gene-value",{"title":290,"_path":291},"RNA Splice Junction","/visualization-community/code-block-library/rna-splice-junction",{"title":293,"_path":294},"Single Cell","/visualization-community/code-block-library/single-cell",{"title":296,"_path":297},"Splice Junctions Cohort","/visualization-community/code-block-library/splice-junctions-cohort",{"title":299,"_path":300},"Track List and Facet Table","/visualization-community/code-block-library/track-list-and-facet-table",{"title":302,"_path":303},"t-SNE","/visualization-community/code-block-library/t-sne",{"title":305,"_path":306},"VCF","/visualization-community/code-block-library/vcf",{"title":308,"_path":309,"children":310},"ProteinPaint","/visualization-community/proteinpaint",[311,313,316,318,321,324,327,330,333,336,339,342,345,348,351,354,357,360,363,366,369,372,375,378,381,384,387,390,393,396,399,402,405,408],{"title":308,"_path":312},"/visualization-community/proteinpaint/proteinpaint",{"title":314,"_path":315},"Introduction","/visualization-community/proteinpaint/introduction",{"title":30,"_path":317},"/visualization-community/proteinpaint/getting-started",{"title":319,"_path":320},"Loading Datasets","/visualization-community/proteinpaint/loading-datasets",{"title":322,"_path":323},"Viewing SNV/Indel Mutations","/visualization-community/proteinpaint/viewing-snv-indel-mutations",{"title":325,"_path":326},"Viewing Gene Fusions","/visualization-community/proteinpaint/viewing-gene-fusions",{"title":328,"_path":329},"Viewing Expression Data","/visualization-community/proteinpaint/viewing-expression-data",{"title":331,"_path":332},"Filtering Mutations","/visualization-community/proteinpaint/filtering-mutations",{"title":334,"_path":335},"Exporting Figures and Data","/visualization-community/proteinpaint/exporting-figures-and-data",{"title":337,"_path":338},"Using the Gene Table","/visualization-community/proteinpaint/using-the-gene-table",{"title":340,"_path":341},"Using the Sample Table","/visualization-community/proteinpaint/using-the-sample-table",{"title":343,"_path":344},"Using the Heatmap","/visualization-community/proteinpaint/using-the-heatmap",{"title":346,"_path":347},"Using Disease Pie Charts","/visualization-community/proteinpaint/using-disease-pie-charts",{"title":349,"_path":350},"Stratifying Mutations by Cancer Subtype","/visualization-community/proteinpaint/stratifying-mutations-by-cancer-subtype",{"title":352,"_path":353},"SNV and Indel","/visualization-community/proteinpaint/snv-and-indel",{"title":355,"_path":356},"SV and fusion transcript","/visualization-community/proteinpaint/sv-and-fusion-transcript",{"title":358,"_path":359},"Copy Number Variants","/visualization-community/proteinpaint/copy-number-variants",{"title":361,"_path":362},"Internal tandem duplications","/visualization-community/proteinpaint/internal-tandem-duplications",{"title":364,"_path":365},"Intragenic deletion","/visualization-community/proteinpaint/intragenic-deletion",{"title":367,"_path":368},"Truncation, N-loss, or C-loss","/visualization-community/proteinpaint/truncation",{"title":370,"_path":371},"JSON-BED","/visualization-community/proteinpaint/json-bed",{"title":373,"_path":374},"Splice Junction","/visualization-community/proteinpaint/splice-junction",{"title":376,"_path":377},"Profile-Gene-Value","/visualization-community/proteinpaint/profile-gene-value",{"title":379,"_path":380},"Bampile","/visualization-community/proteinpaint/bampile",{"title":382,"_path":383},"Add Custom Protein Domains","/visualization-community/proteinpaint/add-custom-protein-domains",{"title":385,"_path":386},"Using Custom Tracks","/visualization-community/proteinpaint/using-custom-tracks",{"title":388,"_path":389},"Visualize Your Mutation Data","/visualization-community/proteinpaint/visualize-your-mutation-data",{"title":391,"_path":392},"Loading SNV/Indel Mutations from a File","/visualization-community/proteinpaint/loading-mutations-from-file",{"title":394,"_path":395},"Uploaded Mutation Data User Interface","/visualization-community/proteinpaint/uploaded-mutation-data",{"title":397,"_path":398},"Loading a TCGA MAF File","/visualization-community/proteinpaint/loading-tcga-maf-file",{"title":400,"_path":401},"Using a VCF File","/visualization-community/proteinpaint/using-vcf-file",{"title":403,"_path":404},"Embedding ProteinPaint","/visualization-community/proteinpaint/embedding-proteinpaint",{"title":406,"_path":407},"URL Parameters","/visualization-community/proteinpaint/url-parameters",{"title":409,"_path":410},"Organizing Data into a Study View","/visualization-community/proteinpaint/study-view",{"title":412,"_path":413,"children":414},"GenomePaint","/visualization-community/genomepaint",[415,417],{"title":412,"_path":416},"/visualization-community/genomepaint/genomepaint",{"title":418,"_path":419},"GenomePaint User Guide","/visualization-community/genomepaint/genomepaint-user-guide","sjc-icon:viz",{"_path":95,"_dir":422,"_draft":423,"_partial":423,"_locale":424,"title":425,"description":426,"navigation":427,"body":428,"_type":2543,"_id":2544,"_source":2545,"_file":2546,"_stem":2547,"_extension":2548},"analyzing-data",false,"","Interactive Nodes in the Cloud","Apart from creating and running cloud apps, you can request an interactive node in the cloud to use for iterative development.\nThis can be particularly useful if you want to run some quick analyses on the cloud, want to run tools without creating an app, or want to submit jobs similar to bsub on the local St. Jude HPC.",{"title":94},{"type":429,"children":430,"toc":2521},"root",[431,456,483,512,518,523,579,584,589,594,601,614,620,625,668,681,694,728,734,746,751,798,804,832,837,843,864,870,883,895,900,924,929,935,957,962,971,976,984,992,997,1003,1008,1221,1238,1259,1267,1273,1278,1287,1308,1316,1322,1327,1335,1355,1360,1393,1401,1430,1437,1451,1456,1507,1512,1595,1608,1637,1650,1722,1728,1748,1753,1759,1771,1776,1785,1798,2139,2159,2165,2185,2213,2219,2239,2245,2250,2291,2297,2303,2323,2361,2366,2428,2433,2445,2451,2463,2468,2476,2481,2489,2494,2502,2507,2515],{"type":432,"tag":433,"props":434,"children":435},"element","p",{},[436,439,445,447,454],{"type":437,"value":438},"text","Apart from ",{"type":432,"tag":440,"props":441,"children":442},"a",{"href":92},[443],{"type":437,"value":444},"creating and running cloud apps",{"type":437,"value":446},", you can request an interactive node in the cloud to use for iterative development.\nThis can be particularly useful if you want to run some quick analyses on the cloud, want to run tools without creating an app, or want to submit jobs similar to ",{"type":432,"tag":448,"props":449,"children":451},"code",{"className":450},[],[452],{"type":437,"value":453},"bsub",{"type":437,"value":455}," on the local St. Jude HPC.",{"type":432,"tag":433,"props":457,"children":458},{},[459,461,467,469,474,476,481],{"type":437,"value":460},"This guide assumes that you have a DNAnexus account and have ",{"type":432,"tag":448,"props":462,"children":464},{"className":463},[],[465],{"type":437,"value":466},"dxpy",{"type":437,"value":468}," installed on your machine (view ",{"type":432,"tag":440,"props":470,"children":471},{"href":70},[472],{"type":437,"value":473},"the local data upload guide",{"type":437,"value":475}," for instructions on how to install ",{"type":432,"tag":448,"props":477,"children":479},{"className":478},[],[480],{"type":437,"value":466},{"type":437,"value":482},").",{"type":432,"tag":484,"props":485,"children":488},"callout",{"color":486,"icon":487},"orange","i-heroicons-exclamation-circle",[489],{"type":432,"tag":433,"props":490,"children":491},{},[492,498,502,504,510],{"type":432,"tag":493,"props":494,"children":495},"strong",{},[496],{"type":437,"value":497},"Warning",{"type":432,"tag":499,"props":500,"children":501},"br",{},[],{"type":437,"value":503},"\nAll instructions in this guide should be run from your local machine, ",{"type":432,"tag":505,"props":506,"children":507},"em",{},[508],{"type":437,"value":509},"not",{"type":437,"value":511}," the HPC cluster.",{"type":432,"tag":513,"props":514,"children":516},"h2",{"id":515},"overview",[517],{"type":437,"value":5},{"type":432,"tag":433,"props":519,"children":520},{},[521],{"type":437,"value":522},"There are two different experiences for doing interactive or adhoc analysis in the cloud:",{"type":432,"tag":524,"props":525,"children":526},"ul",{},[527,563],{"type":432,"tag":528,"props":529,"children":530},"li",{},[531,536,538,546,548,554,556,561],{"type":432,"tag":493,"props":532,"children":533},{},[534],{"type":437,"value":535},"Cloud Workstations",{"type":437,"value":537},".\nCloud workstations are a mature offering in the DNAnexus ecosystem, and you can use them in your production work.\nDNAnexus has ",{"type":432,"tag":440,"props":539,"children":543},{"href":540,"rel":541},"https://documentation.dnanexus.com/developer/cloud-workstation",[542],"nofollow",[544],{"type":437,"value":545},"a full guide",{"type":437,"value":547}," on how to use cloud workstations.\nUnfortunately, they do not fully replicate the experience of an interactive node on the cluster: each time you ssh into a new cloud workstation, you get a blank machine with no dependencies or data installed.\nThus, you need to configure your environment, download data to the node using ",{"type":432,"tag":448,"props":549,"children":551},{"className":550},[],[552],{"type":437,"value":553},"dx",{"type":437,"value":555},", and upload results back to DNAnexus using ",{"type":432,"tag":448,"props":557,"children":559},{"className":558},[],[560],{"type":437,"value":553},{"type":437,"value":562},".",{"type":432,"tag":528,"props":564,"children":565},{},[566,570,572,577],{"type":432,"tag":493,"props":567,"children":568},{},[569],{"type":437,"value":94},{"type":437,"value":571},".\nInteractive nodes were created very recently between a partnership with St. Jude and DNAnexus.\nThey offer a more complete alternative to interactive nodes in the HPC cluster, but the experience is currently in ",{"type":432,"tag":493,"props":573,"children":574},{},[575],{"type":437,"value":576},"alpha",{"type":437,"value":578}," (meaning that there are likely to be bugs and it is not ready for production use).",{"type":432,"tag":433,"props":580,"children":581},{},[582],{"type":437,"value":583},"In this guide, we will briefly mention how to use Cloud Workstations and then spend the rest of the guide explaining how to use our new Interactive Node experience.",{"type":432,"tag":513,"props":585,"children":587},{"id":586},"cloud-workstations",[588],{"type":437,"value":535},{"type":432,"tag":433,"props":590,"children":591},{},[592],{"type":437,"value":593},"A Cloud Workstation is a fresh node on the cloud that can be used to run any command with access to data in your projects.\nYou will be given root access to the node so you can download and install any tool you require.\nSince this is an interactive session, you will be charged for the duration of the session so it is important to terminate the session after use.",{"type":432,"tag":595,"props":596,"children":598},"h3",{"id":597},"configuring-ssh",[599],{"type":437,"value":600},"Configuring SSH",{"type":432,"tag":433,"props":602,"children":603},{},[604,606,612],{"type":437,"value":605},"Run ",{"type":432,"tag":448,"props":607,"children":609},{"className":608},[],[610],{"type":437,"value":611},"dx ssh_config",{"type":437,"value":613}," to configure your account to allow use of SSH connections to the node.",{"type":432,"tag":595,"props":615,"children":617},{"id":616},"connecting-to-the-workstation",[618],{"type":437,"value":619},"Connecting to the workstation",{"type":432,"tag":433,"props":621,"children":622},{},[623],{"type":437,"value":624},"To start an interactive workstation, first select the project you would like to start it in.",{"type":432,"tag":626,"props":627,"children":631},"pre",{"className":628,"code":629,"language":630,"meta":424,"style":424},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","dx select \"project-alpha\"\n","bash",[632],{"type":432,"tag":448,"props":633,"children":634},{"__ignoreMap":424},[635],{"type":432,"tag":636,"props":637,"children":640},"span",{"class":638,"line":639},"line",1,[641,646,652,658,663],{"type":432,"tag":636,"props":642,"children":644},{"style":643},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[645],{"type":437,"value":553},{"type":432,"tag":636,"props":647,"children":649},{"style":648},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[650],{"type":437,"value":651}," select",{"type":432,"tag":636,"props":653,"children":655},{"style":654},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[656],{"type":437,"value":657}," \"",{"type":432,"tag":636,"props":659,"children":660},{"style":648},[661],{"type":437,"value":662},"project-alpha",{"type":432,"tag":636,"props":664,"children":665},{"style":654},[666],{"type":437,"value":667},"\"\n",{"type":432,"tag":433,"props":669,"children":670},{},[671,673,679],{"type":437,"value":672},"or just ",{"type":432,"tag":448,"props":674,"children":676},{"className":675},[],[677],{"type":437,"value":678},"dx select",{"type":437,"value":680}," to select from a list of your projects interactively.",{"type":432,"tag":433,"props":682,"children":683},{},[684,686,692],{"type":437,"value":685},"Next, run ",{"type":432,"tag":448,"props":687,"children":689},{"className":688},[],[690],{"type":437,"value":691},"dx run app-cloud_workstation --ssh",{"type":437,"value":693},". You can set the maximum session length for this session or continue with the default options.",{"type":432,"tag":484,"props":695,"children":698},{"color":696,"icon":697},"blue","i-heroicons-light-bulb",[699],{"type":432,"tag":433,"props":700,"children":701},{},[702,707,710,712,718,720,726],{"type":432,"tag":493,"props":703,"children":704},{},[705],{"type":437,"value":706},"Tip",{"type":432,"tag":499,"props":708,"children":709},{},[],{"type":437,"value":711},"\nThe default node size for the cloud workstations are mem1_ssd1_x2.\nIf you want to request a larger node size, you can specify it by adding the ",{"type":432,"tag":448,"props":713,"children":715},{"className":714},[],[716],{"type":437,"value":717},"--instance-type",{"type":437,"value":719}," option.\nCheck the ",{"type":432,"tag":440,"props":721,"children":723},{"href":722},"#advanced-options",[724],{"type":437,"value":725},"advanced options section",{"type":437,"value":727}," at the bottom for more information.",{"type":432,"tag":595,"props":729,"children":731},{"id":730},"setting-up-workspace",[732],{"type":437,"value":733},"Setting up workspace",{"type":432,"tag":433,"props":735,"children":736},{},[737,739,744],{"type":437,"value":738},"Once you are connected to the node, you will have access to download and install tools to the node and use them.\nThe node is a clean linux environment with the ",{"type":432,"tag":448,"props":740,"children":742},{"className":741},[],[743],{"type":437,"value":553},{"type":437,"value":745}," command line tool already installed.",{"type":432,"tag":433,"props":747,"children":748},{},[749],{"type":437,"value":750},"In order to upload and download files from your DNAnexus project, you must first run the following commands.",{"type":432,"tag":626,"props":752,"children":754},{"className":628,"code":753,"language":630,"meta":424,"style":424},"unset DX_WORKSPACE_ID\ndx cd \"project-alpha:/\"\n",[755],{"type":432,"tag":448,"props":756,"children":757},{"__ignoreMap":424},[758,772],{"type":432,"tag":636,"props":759,"children":760},{"class":638,"line":639},[761,767],{"type":432,"tag":636,"props":762,"children":764},{"style":763},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[765],{"type":437,"value":766},"unset",{"type":432,"tag":636,"props":768,"children":769},{"style":648},[770],{"type":437,"value":771}," DX_WORKSPACE_ID\n",{"type":432,"tag":636,"props":773,"children":775},{"class":638,"line":774},2,[776,780,785,789,794],{"type":432,"tag":636,"props":777,"children":778},{"style":643},[779],{"type":437,"value":553},{"type":432,"tag":636,"props":781,"children":782},{"style":648},[783],{"type":437,"value":784}," cd",{"type":432,"tag":636,"props":786,"children":787},{"style":654},[788],{"type":437,"value":657},{"type":432,"tag":636,"props":790,"children":791},{"style":648},[792],{"type":437,"value":793},"project-alpha:/",{"type":432,"tag":636,"props":795,"children":796},{"style":654},[797],{"type":437,"value":667},{"type":432,"tag":595,"props":799,"children":801},{"id":800},"downloading-files-from-your-dnanexus-project",[802],{"type":437,"value":803},"Downloading files from your DNAnexus project",{"type":432,"tag":433,"props":805,"children":806},{},[807,809,815,817,823,825,831],{"type":437,"value":808},"The node has access to the data in your projects.\nTo download a file, ",{"type":432,"tag":448,"props":810,"children":812},{"className":811},[],[813],{"type":437,"value":814},"test.bam",{"type":437,"value":816},", from your parent project, just run ",{"type":432,"tag":448,"props":818,"children":820},{"className":819},[],[821],{"type":437,"value":822},"dx download test.bam",{"type":437,"value":824},".\nTo download a file from any project you have access to, just specify the project and path to the file in your download command like ",{"type":432,"tag":448,"props":826,"children":828},{"className":827},[],[829],{"type":437,"value":830},"dx download project-name:/path/to/test.bam",{"type":437,"value":562},{"type":432,"tag":433,"props":833,"children":834},{},[835],{"type":437,"value":836},"Once you have all the tools and data you require, you can use the workstation as a general-purpose workstation to run analyses.\nNote that in the Cloud Workstation, all files you want to use have to fit onto the local hard disk.",{"type":432,"tag":595,"props":838,"children":840},{"id":839},"uploading-files-back-to-your-project",[841],{"type":437,"value":842},"Uploading files back to your project",{"type":432,"tag":433,"props":844,"children":845},{},[846,848,854,856,862],{"type":437,"value":847},"Since the node is transient and will be deleted after the session is terminated, it is important to upload any required files to your project.\nYou can do that by running ",{"type":432,"tag":448,"props":849,"children":851},{"className":850},[],[852],{"type":437,"value":853},"dx upload output.bam",{"type":437,"value":855}," or ",{"type":432,"tag":448,"props":857,"children":859},{"className":858},[],[860],{"type":437,"value":861},"dx upload --path \"$project-alpha:\" output.bam",{"type":437,"value":863}," if you selected another project in the workstation.",{"type":432,"tag":595,"props":865,"children":867},{"id":866},"terminating-the-session",[868],{"type":437,"value":869},"Terminating the session",{"type":432,"tag":433,"props":871,"children":872},{},[873,875,881],{"type":437,"value":874},"By default, the session will end after the max session time set when the workstation was first started.\nYou can terminate the session when you are done working by ",{"type":432,"tag":448,"props":876,"children":878},{"className":877},[],[879],{"type":437,"value":880},"exit",{"type":437,"value":882},"ing out of the terminal.\nYou will be asked whether you want to terminate the job, enter 'y' to terminate.\nYou can also terminate the job by going to the Monitor tab of your project in DNAnexus and terminate the running job from the website.",{"type":432,"tag":433,"props":884,"children":885},{},[886,888,894],{"type":437,"value":887},"For more information about cloud workstations, please refer to the ",{"type":432,"tag":440,"props":889,"children":891},{"href":540,"rel":890},[542],[892],{"type":437,"value":893},"DNAnexus documentation",{"type":437,"value":562},{"type":432,"tag":513,"props":896,"children":898},{"id":897},"interactive-nodes",[899],{"type":437,"value":94},{"type":432,"tag":484,"props":901,"children":903},{"color":902,"icon":487},"red",[904],{"type":432,"tag":433,"props":905,"children":906},{},[907,912,915,917,922],{"type":432,"tag":493,"props":908,"children":909},{},[910],{"type":437,"value":911},"Danger",{"type":432,"tag":499,"props":913,"children":914},{},[],{"type":437,"value":916},"\nThe interactive node in the cloud experience was created specifically in response to the fully remote working situation.\nThe experience is currently an ",{"type":432,"tag":493,"props":918,"children":919},{},[920],{"type":437,"value":921},"alpha release",{"type":437,"value":923}," and is not suitable for production use.\nAdditionally, this guide will be updated each time we improve the experience, so please come back regularly to see how we are changing things.",{"type":432,"tag":433,"props":925,"children":926},{},[927],{"type":437,"value":928},"Cloud workstations are good for interactive work, but they require you to upload/download data from your projects.\nThey also do not save your working environment so any tools you installed or changes you made to the machine will be lost when the session is terminated.\nThe Interactive Node experience, sometimes referred to by its codename \"CWIC\" (cloud workstations in containers), solves these issues by saving your environment and letting you work with your data on the cloud without manually downloading it to the node.",{"type":432,"tag":595,"props":930,"children":932},{"id":931},"setting-up-your-docker-hub-account",[933],{"type":437,"value":934},"Setting up your Docker Hub account",{"type":432,"tag":433,"props":936,"children":937},{},[938,940,947,949,955],{"type":437,"value":939},"The workstation uses Docker images pushed to a Docker Hub repository to save your environment.\nTo get started, go to ",{"type":432,"tag":440,"props":941,"children":944},{"href":942,"rel":943},"https://hub.docker.com/",[542],[945],{"type":437,"value":946},"Docker Hub",{"type":437,"value":948}," and sign in or create an account.\nEvery Docker Hub account is given one free private repository.\nIt is highly recommended to ",{"type":432,"tag":440,"props":950,"children":952},{"href":951},"#making-a-docker-hub-repository-private",[953],{"type":437,"value":954},"use a private repository",{"type":437,"value":956}," as this will be your working environment.",{"type":432,"tag":433,"props":958,"children":959},{},[960],{"type":437,"value":961},"Once you have a Docker Hub account, go to your \"Account Settings\", then \"Security\" and create a new access token.",{"type":432,"tag":433,"props":963,"children":964},{},[965],{"type":432,"tag":966,"props":967,"children":970},"img",{"alt":968,"src":969},"Creating a new Docker Hub access token","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-0.png",[],{"type":432,"tag":433,"props":972,"children":973},{},[974],{"type":437,"value":975},"You can give it a descriptive name and copy the token.",{"type":432,"tag":433,"props":977,"children":978},{},[979],{"type":432,"tag":966,"props":980,"children":983},{"alt":981,"src":982},"Naming Docker Hub access token","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-1.png",[],{"type":432,"tag":433,"props":985,"children":986},{},[987],{"type":432,"tag":966,"props":988,"children":991},{"alt":989,"src":990},"Saved Docker Hub access token","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-2.png",[],{"type":432,"tag":433,"props":993,"children":994},{},[995],{"type":437,"value":996},"The access token will be needed for the credentials file below.",{"type":432,"tag":595,"props":998,"children":1000},{"id":999},"creating-a-credentials-file",[1001],{"type":437,"value":1002},"Creating a credentials file",{"type":432,"tag":433,"props":1004,"children":1005},{},[1006],{"type":437,"value":1007},"Create a file with the template below and fill in your Docker Hub token and Docker Hub username in the appropriate places.",{"type":432,"tag":626,"props":1009,"children":1013},{"className":1010,"code":1011,"language":1012,"meta":424,"style":424},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"docker_registry\": {\n    \"token\": \"\u003CYOUR_DOCKERHUB_TOKEN>\",\n    \"organization\": \"\u003CYOUR_DOCKERHUB_USERNAME>\",\n    \"username\": \"\u003CYOUR_DOCKERHUB_USERNAME>\",\n    \"registry\": \"docker.io\"\n  }\n}\n","json",[1014],{"type":432,"tag":448,"props":1015,"children":1016},{"__ignoreMap":424},[1017,1025,1054,1094,1132,1169,1203,1212],{"type":432,"tag":636,"props":1018,"children":1019},{"class":638,"line":639},[1020],{"type":432,"tag":636,"props":1021,"children":1022},{"style":654},[1023],{"type":437,"value":1024},"{\n",{"type":432,"tag":636,"props":1026,"children":1027},{"class":638,"line":774},[1028,1033,1039,1044,1049],{"type":432,"tag":636,"props":1029,"children":1030},{"style":654},[1031],{"type":437,"value":1032},"  \"",{"type":432,"tag":636,"props":1034,"children":1036},{"style":1035},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1037],{"type":437,"value":1038},"docker_registry",{"type":432,"tag":636,"props":1040,"children":1041},{"style":654},[1042],{"type":437,"value":1043},"\"",{"type":432,"tag":636,"props":1045,"children":1046},{"style":654},[1047],{"type":437,"value":1048},":",{"type":432,"tag":636,"props":1050,"children":1051},{"style":654},[1052],{"type":437,"value":1053}," {\n",{"type":432,"tag":636,"props":1055,"children":1057},{"class":638,"line":1056},3,[1058,1063,1068,1072,1076,1080,1085,1089],{"type":432,"tag":636,"props":1059,"children":1060},{"style":654},[1061],{"type":437,"value":1062},"    \"",{"type":432,"tag":636,"props":1064,"children":1065},{"style":643},[1066],{"type":437,"value":1067},"token",{"type":432,"tag":636,"props":1069,"children":1070},{"style":654},[1071],{"type":437,"value":1043},{"type":432,"tag":636,"props":1073,"children":1074},{"style":654},[1075],{"type":437,"value":1048},{"type":432,"tag":636,"props":1077,"children":1078},{"style":654},[1079],{"type":437,"value":657},{"type":432,"tag":636,"props":1081,"children":1082},{"style":648},[1083],{"type":437,"value":1084},"\u003CYOUR_DOCKERHUB_TOKEN>",{"type":432,"tag":636,"props":1086,"children":1087},{"style":654},[1088],{"type":437,"value":1043},{"type":432,"tag":636,"props":1090,"children":1091},{"style":654},[1092],{"type":437,"value":1093},",\n",{"type":432,"tag":636,"props":1095,"children":1097},{"class":638,"line":1096},4,[1098,1102,1107,1111,1115,1119,1124,1128],{"type":432,"tag":636,"props":1099,"children":1100},{"style":654},[1101],{"type":437,"value":1062},{"type":432,"tag":636,"props":1103,"children":1104},{"style":643},[1105],{"type":437,"value":1106},"organization",{"type":432,"tag":636,"props":1108,"children":1109},{"style":654},[1110],{"type":437,"value":1043},{"type":432,"tag":636,"props":1112,"children":1113},{"style":654},[1114],{"type":437,"value":1048},{"type":432,"tag":636,"props":1116,"children":1117},{"style":654},[1118],{"type":437,"value":657},{"type":432,"tag":636,"props":1120,"children":1121},{"style":648},[1122],{"type":437,"value":1123},"\u003CYOUR_DOCKERHUB_USERNAME>",{"type":432,"tag":636,"props":1125,"children":1126},{"style":654},[1127],{"type":437,"value":1043},{"type":432,"tag":636,"props":1129,"children":1130},{"style":654},[1131],{"type":437,"value":1093},{"type":432,"tag":636,"props":1133,"children":1135},{"class":638,"line":1134},5,[1136,1140,1145,1149,1153,1157,1161,1165],{"type":432,"tag":636,"props":1137,"children":1138},{"style":654},[1139],{"type":437,"value":1062},{"type":432,"tag":636,"props":1141,"children":1142},{"style":643},[1143],{"type":437,"value":1144},"username",{"type":432,"tag":636,"props":1146,"children":1147},{"style":654},[1148],{"type":437,"value":1043},{"type":432,"tag":636,"props":1150,"children":1151},{"style":654},[1152],{"type":437,"value":1048},{"type":432,"tag":636,"props":1154,"children":1155},{"style":654},[1156],{"type":437,"value":657},{"type":432,"tag":636,"props":1158,"children":1159},{"style":648},[1160],{"type":437,"value":1123},{"type":432,"tag":636,"props":1162,"children":1163},{"style":654},[1164],{"type":437,"value":1043},{"type":432,"tag":636,"props":1166,"children":1167},{"style":654},[1168],{"type":437,"value":1093},{"type":432,"tag":636,"props":1170,"children":1172},{"class":638,"line":1171},6,[1173,1177,1182,1186,1190,1194,1199],{"type":432,"tag":636,"props":1174,"children":1175},{"style":654},[1176],{"type":437,"value":1062},{"type":432,"tag":636,"props":1178,"children":1179},{"style":643},[1180],{"type":437,"value":1181},"registry",{"type":432,"tag":636,"props":1183,"children":1184},{"style":654},[1185],{"type":437,"value":1043},{"type":432,"tag":636,"props":1187,"children":1188},{"style":654},[1189],{"type":437,"value":1048},{"type":432,"tag":636,"props":1191,"children":1192},{"style":654},[1193],{"type":437,"value":657},{"type":432,"tag":636,"props":1195,"children":1196},{"style":648},[1197],{"type":437,"value":1198},"docker.io",{"type":432,"tag":636,"props":1200,"children":1201},{"style":654},[1202],{"type":437,"value":667},{"type":432,"tag":636,"props":1204,"children":1206},{"class":638,"line":1205},7,[1207],{"type":432,"tag":636,"props":1208,"children":1209},{"style":654},[1210],{"type":437,"value":1211},"  }\n",{"type":432,"tag":636,"props":1213,"children":1215},{"class":638,"line":1214},8,[1216],{"type":432,"tag":636,"props":1217,"children":1218},{"style":654},[1219],{"type":437,"value":1220},"}\n",{"type":432,"tag":484,"props":1222,"children":1224},{"color":1223,"icon":487},"green",[1225],{"type":432,"tag":433,"props":1226,"children":1227},{},[1228,1233,1236],{"type":432,"tag":493,"props":1229,"children":1230},{},[1231],{"type":437,"value":1232},"Info",{"type":432,"tag":499,"props":1234,"children":1235},{},[],{"type":437,"value":1237},"\nIf you would rather use a quay.io repository, you can use your quay credentials in the credentials file instead.",{"type":432,"tag":433,"props":1239,"children":1240},{},[1241,1243,1249,1251,1257],{"type":437,"value":1242},"Once you have made your credentials file on your computer, make a new DNAnexus project to save your credentials using ",{"type":432,"tag":448,"props":1244,"children":1246},{"className":1245},[],[1247],{"type":437,"value":1248},"dx new project",{"type":437,"value":1250},".\nUpload the credentials file to your project by running ",{"type":432,"tag":448,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":437,"value":1256},"dx upload creds.txt",{"type":437,"value":1258},".\nIt is recommended to save your credentials in a separate, private DNAnexus project to ensure that others do not have access to it.",{"type":432,"tag":433,"props":1260,"children":1261},{},[1262],{"type":432,"tag":966,"props":1263,"children":1266},{"alt":1264,"src":1265},"Uploading credentials file","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-3.png",[],{"type":432,"tag":595,"props":1268,"children":1270},{"id":1269},"starting-an-interactive-terminal-session",[1271],{"type":437,"value":1272},"Starting an interactive terminal session",{"type":432,"tag":433,"props":1274,"children":1275},{},[1276],{"type":437,"value":1277},"The following command will run the app using the credentials you provided and will log you into the node after it boots up.",{"type":432,"tag":433,"props":1279,"children":1280},{},[1281],{"type":432,"tag":448,"props":1282,"children":1284},{"className":1283},[],[1285],{"type":437,"value":1286},"dx run app-cwic -icredentials=mycredentials:creds.txt --ssh -y",{"type":432,"tag":433,"props":1288,"children":1289},{},[1290,1292,1298,1300,1307],{"type":437,"value":1291},"or replace ",{"type":432,"tag":448,"props":1293,"children":1295},{"className":1294},[],[1296],{"type":437,"value":1297},"mycredentials",{"type":437,"value":1299}," with the name of the DNAnexus project with your credentials file.\nIf you have SSH issues while trying to connect to the job, make sure your SSH keys are ",{"type":432,"tag":440,"props":1301,"children":1304},{"href":1302,"rel":1303},"https://documentation.dnanexus.com/developer/apps/execution-environment/connecting-to-jobs",[542],[1305],{"type":437,"value":1306},"configured properly",{"type":437,"value":562},{"type":432,"tag":433,"props":1309,"children":1310},{},[1311],{"type":432,"tag":966,"props":1312,"children":1315},{"alt":1313,"src":1314},"running CWIC app","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-4.png",[],{"type":432,"tag":595,"props":1317,"children":1319},{"id":1318},"working-on-the-cwic-node",[1320],{"type":437,"value":1321},"Working on the CWIC node",{"type":432,"tag":433,"props":1323,"children":1324},{},[1325],{"type":437,"value":1326},"Once the node starts, you will be taken to the home directory of the CWIC node.\nThis node is an ubuntu environment and you can install or run any commands you want.",{"type":432,"tag":433,"props":1328,"children":1329},{},[1330],{"type":432,"tag":966,"props":1331,"children":1334},{"alt":1332,"src":1333},"CWIC terminal","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-5.png",[],{"type":432,"tag":433,"props":1336,"children":1337},{},[1338,1340,1346,1348,1354],{"type":437,"value":1339},"For example, you can install ",{"type":432,"tag":448,"props":1341,"children":1343},{"className":1342},[],[1344],{"type":437,"value":1345},"samtools",{"type":437,"value":1347}," by running ",{"type":432,"tag":448,"props":1349,"children":1351},{"className":1350},[],[1352],{"type":437,"value":1353},"sudo apt install samtools",{"type":437,"value":562},{"type":432,"tag":433,"props":1356,"children":1357},{},[1358],{"type":437,"value":1359},"There are two main directories to work with data:",{"type":432,"tag":524,"props":1361,"children":1362},{},[1363,1374],{"type":432,"tag":528,"props":1364,"children":1365},{},[1366,1372],{"type":432,"tag":448,"props":1367,"children":1369},{"className":1368},[],[1370],{"type":437,"value":1371},"/scratch/",{"type":437,"value":1373}," - This is the directory local to the node.\nYou can use this directory to save any intermediate or temporary results.\nYou can run tools here but all the data in this directory will be deleted once the node is terminated.",{"type":432,"tag":528,"props":1375,"children":1376},{},[1377,1383,1385,1391],{"type":432,"tag":448,"props":1378,"children":1380},{"className":1379},[],[1381],{"type":437,"value":1382},"/project/",{"type":437,"value":1384}," - This directory contains your DNAnexus project and the data in it. If you copy or move files to this directory, it saves to your DNAnexus project, which is a persistent storage.\nYou can go to ",{"type":432,"tag":448,"props":1386,"children":1388},{"className":1387},[],[1389],{"type":437,"value":1390},"/project/\u003CYOUR_DX_PROJECT_NAME>",{"type":437,"value":1392}," and see the files in your DNAnexus project.",{"type":432,"tag":433,"props":1394,"children":1395},{},[1396],{"type":432,"tag":966,"props":1397,"children":1400},{"alt":1398,"src":1399},"CWIC directories","/img/genomics-platform/analyzing-data/interactive-nodes/interactive-node-6.png",[],{"type":432,"tag":433,"props":1402,"children":1403},{},[1404,1406,1412,1414,1420,1422,1428],{"type":437,"value":1405},"Upload some data to your project from a local machine for testing in the interactive node — here, we assume a BAM file uploaded from a laptop called ",{"type":432,"tag":448,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":437,"value":1411},"sample.bam",{"type":437,"value":1413},".\nOnce data is uploaded to your DNAnexus project, you can access it on your CWIC node at ",{"type":432,"tag":448,"props":1415,"children":1417},{"className":1416},[],[1418],{"type":437,"value":1419},"/project/\u003CYOUR_DX_PROJECT_NAME>/test.bam",{"type":437,"value":1421},".\nFor instance, when running ",{"type":432,"tag":448,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":437,"value":1427},"samtools index /project/\u003CYOUR_DX_PROJECT_NAME>/test.bam",{"type":437,"value":1429},", you will find the index file samtools creates is saved to your cloud project.",{"type":432,"tag":1431,"props":1432,"children":1434},"h4",{"id":1433},"adding-bioinformatics-tools-to-your-environment",[1435],{"type":437,"value":1436},"Adding bioinformatics tools to your environment",{"type":432,"tag":433,"props":1438,"children":1439},{},[1440,1442,1449],{"type":437,"value":1441},"We recommend installing ",{"type":432,"tag":440,"props":1443,"children":1446},{"href":1444,"rel":1445},"https://www.anaconda.com/download",[542],[1447],{"type":437,"value":1448},"Anaconda",{"type":437,"value":1450}," to manage any Python or R packages in your CWIC environment.",{"type":432,"tag":433,"props":1452,"children":1453},{},[1454],{"type":437,"value":1455},"To install miniconda (a minimal installation of anaconda), run",{"type":432,"tag":626,"props":1457,"children":1459},{"className":628,"code":1458,"language":630,"meta":424,"style":424},"curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\nsh Miniconda3-latest-Linux-x86_64.sh\nsource ~/.bashrc\n",[1460],{"type":432,"tag":448,"props":1461,"children":1462},{"__ignoreMap":424},[1463,1481,1494],{"type":432,"tag":636,"props":1464,"children":1465},{"class":638,"line":639},[1466,1471,1476],{"type":432,"tag":636,"props":1467,"children":1468},{"style":643},[1469],{"type":437,"value":1470},"curl",{"type":432,"tag":636,"props":1472,"children":1473},{"style":648},[1474],{"type":437,"value":1475}," -O",{"type":432,"tag":636,"props":1477,"children":1478},{"style":648},[1479],{"type":437,"value":1480}," https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",{"type":432,"tag":636,"props":1482,"children":1483},{"class":638,"line":774},[1484,1489],{"type":432,"tag":636,"props":1485,"children":1486},{"style":643},[1487],{"type":437,"value":1488},"sh",{"type":432,"tag":636,"props":1490,"children":1491},{"style":648},[1492],{"type":437,"value":1493}," Miniconda3-latest-Linux-x86_64.sh\n",{"type":432,"tag":636,"props":1495,"children":1496},{"class":638,"line":1056},[1497,1502],{"type":432,"tag":636,"props":1498,"children":1499},{"style":763},[1500],{"type":437,"value":1501},"source",{"type":432,"tag":636,"props":1503,"children":1504},{"style":648},[1505],{"type":437,"value":1506}," ~/.bashrc\n",{"type":432,"tag":433,"props":1508,"children":1509},{},[1510],{"type":437,"value":1511},"Follow the instructions and select 'yes' to install conda and initialize it.\nAfter installing conda, we recommend adding the bioconda channel, which provides many bioinformatics packages.",{"type":432,"tag":626,"props":1513,"children":1515},{"className":628,"code":1514,"language":630,"meta":424,"style":424},"conda config --add channels defaults\nconda config --add channels bioconda\nconda config --add channels conda-forge\n",[1516],{"type":432,"tag":448,"props":1517,"children":1518},{"__ignoreMap":424},[1519,1547,1571],{"type":432,"tag":636,"props":1520,"children":1521},{"class":638,"line":639},[1522,1527,1532,1537,1542],{"type":432,"tag":636,"props":1523,"children":1524},{"style":643},[1525],{"type":437,"value":1526},"conda",{"type":432,"tag":636,"props":1528,"children":1529},{"style":648},[1530],{"type":437,"value":1531}," config",{"type":432,"tag":636,"props":1533,"children":1534},{"style":648},[1535],{"type":437,"value":1536}," --add",{"type":432,"tag":636,"props":1538,"children":1539},{"style":648},[1540],{"type":437,"value":1541}," channels",{"type":432,"tag":636,"props":1543,"children":1544},{"style":648},[1545],{"type":437,"value":1546}," defaults\n",{"type":432,"tag":636,"props":1548,"children":1549},{"class":638,"line":774},[1550,1554,1558,1562,1566],{"type":432,"tag":636,"props":1551,"children":1552},{"style":643},[1553],{"type":437,"value":1526},{"type":432,"tag":636,"props":1555,"children":1556},{"style":648},[1557],{"type":437,"value":1531},{"type":432,"tag":636,"props":1559,"children":1560},{"style":648},[1561],{"type":437,"value":1536},{"type":432,"tag":636,"props":1563,"children":1564},{"style":648},[1565],{"type":437,"value":1541},{"type":432,"tag":636,"props":1567,"children":1568},{"style":648},[1569],{"type":437,"value":1570}," bioconda\n",{"type":432,"tag":636,"props":1572,"children":1573},{"class":638,"line":1056},[1574,1578,1582,1586,1590],{"type":432,"tag":636,"props":1575,"children":1576},{"style":643},[1577],{"type":437,"value":1526},{"type":432,"tag":636,"props":1579,"children":1580},{"style":648},[1581],{"type":437,"value":1531},{"type":432,"tag":636,"props":1583,"children":1584},{"style":648},[1585],{"type":437,"value":1536},{"type":432,"tag":636,"props":1587,"children":1588},{"style":648},[1589],{"type":437,"value":1541},{"type":432,"tag":636,"props":1591,"children":1592},{"style":648},[1593],{"type":437,"value":1594}," conda-forge\n",{"type":432,"tag":433,"props":1596,"children":1597},{},[1598,1600,1606],{"type":437,"value":1599},"To install a package such as ",{"type":432,"tag":448,"props":1601,"children":1603},{"className":1602},[],[1604],{"type":437,"value":1605},"bwa",{"type":437,"value":1607},", simply run",{"type":432,"tag":626,"props":1609,"children":1611},{"className":628,"code":1610,"language":630,"meta":424,"style":424},"conda install bwa -y\n",[1612],{"type":432,"tag":448,"props":1613,"children":1614},{"__ignoreMap":424},[1615],{"type":432,"tag":636,"props":1616,"children":1617},{"class":638,"line":639},[1618,1622,1627,1632],{"type":432,"tag":636,"props":1619,"children":1620},{"style":643},[1621],{"type":437,"value":1526},{"type":432,"tag":636,"props":1623,"children":1624},{"style":648},[1625],{"type":437,"value":1626}," install",{"type":432,"tag":636,"props":1628,"children":1629},{"style":648},[1630],{"type":437,"value":1631}," bwa",{"type":432,"tag":636,"props":1633,"children":1634},{"style":648},[1635],{"type":437,"value":1636}," -y\n",{"type":432,"tag":433,"props":1638,"children":1639},{},[1640,1642,1648],{"type":437,"value":1641},"You can also create a new environment with conda called ",{"type":432,"tag":448,"props":1643,"children":1645},{"className":1644},[],[1646],{"type":437,"value":1647},"bio",{"type":437,"value":1649}," and install available packages like so:",{"type":432,"tag":626,"props":1651,"children":1653},{"className":628,"code":1652,"language":630,"meta":424,"style":424},"conda create -n bio bwa bowtie star -y\nconda activate bio\nbwa\n",[1654],{"type":432,"tag":448,"props":1655,"children":1656},{"__ignoreMap":424},[1657,1697,1714],{"type":432,"tag":636,"props":1658,"children":1659},{"class":638,"line":639},[1660,1664,1669,1674,1679,1683,1688,1693],{"type":432,"tag":636,"props":1661,"children":1662},{"style":643},[1663],{"type":437,"value":1526},{"type":432,"tag":636,"props":1665,"children":1666},{"style":648},[1667],{"type":437,"value":1668}," create",{"type":432,"tag":636,"props":1670,"children":1671},{"style":648},[1672],{"type":437,"value":1673}," -n",{"type":432,"tag":636,"props":1675,"children":1676},{"style":648},[1677],{"type":437,"value":1678}," bio",{"type":432,"tag":636,"props":1680,"children":1681},{"style":648},[1682],{"type":437,"value":1631},{"type":432,"tag":636,"props":1684,"children":1685},{"style":648},[1686],{"type":437,"value":1687}," bowtie",{"type":432,"tag":636,"props":1689,"children":1690},{"style":648},[1691],{"type":437,"value":1692}," star",{"type":432,"tag":636,"props":1694,"children":1695},{"style":648},[1696],{"type":437,"value":1636},{"type":432,"tag":636,"props":1698,"children":1699},{"class":638,"line":774},[1700,1704,1709],{"type":432,"tag":636,"props":1701,"children":1702},{"style":643},[1703],{"type":437,"value":1526},{"type":432,"tag":636,"props":1705,"children":1706},{"style":648},[1707],{"type":437,"value":1708}," activate",{"type":432,"tag":636,"props":1710,"children":1711},{"style":648},[1712],{"type":437,"value":1713}," bio\n",{"type":432,"tag":636,"props":1715,"children":1716},{"class":638,"line":1056},[1717],{"type":432,"tag":636,"props":1718,"children":1719},{"style":643},[1720],{"type":437,"value":1721},"bwa\n",{"type":432,"tag":1431,"props":1723,"children":1725},{"id":1724},"saving-your-environment",[1726],{"type":437,"value":1727},"Saving your environment",{"type":432,"tag":433,"props":1729,"children":1730},{},[1731,1733,1738,1740,1746],{"type":437,"value":1732},"If you installed ",{"type":432,"tag":448,"props":1734,"children":1736},{"className":1735},[],[1737],{"type":437,"value":1345},{"type":437,"value":1739},", or any other tool to the node and want to save your environment, you can run ",{"type":432,"tag":448,"props":1741,"children":1743},{"className":1742},[],[1744],{"type":437,"value":1745},"dx-save-cwic",{"type":437,"value":1747},".\nThis will save the environment to your Docker Hub repository.\nUnfortunately, this is a manual step at the moment: in a future iteration, we plan to have this save your environment automatically.",{"type":432,"tag":433,"props":1749,"children":1750},{},[1751],{"type":437,"value":1752},"The next time you launch a CWIC node in this project, it will put you in an node with your saved environment.\nTherefore you will not need to reinstall samtools or any other tool you had in your environment.",{"type":432,"tag":1431,"props":1754,"children":1756},{"id":1755},"running-batch-jobs",[1757],{"type":437,"value":1758},"Running batch jobs",{"type":432,"tag":433,"props":1760,"children":1761},{},[1762,1764,1769],{"type":437,"value":1763},"We can dispatch non-interactive jobs from the node to parallelize analyses similar to a ",{"type":432,"tag":448,"props":1765,"children":1767},{"className":1766},[],[1768],{"type":437,"value":453},{"type":437,"value":1770}," experience on the HPC.",{"type":432,"tag":433,"props":1772,"children":1773},{},[1774],{"type":437,"value":1775},"First, you need to login to DNAnexus on the node.",{"type":432,"tag":433,"props":1777,"children":1778},{},[1779],{"type":432,"tag":448,"props":1780,"children":1782},{"className":1781},[],[1783],{"type":437,"value":1784},"dx login --noprojects --token \u003Cdnanexus-user-token-from-ui>",{"type":432,"tag":433,"props":1786,"children":1787},{},[1788,1790,1796],{"type":437,"value":1789},"You can use samtools to split the bam by chromosome like below by specifying a command with the CWIC app.\nThis will run the specified command with the saved environment and you can save the outputs to the ",{"type":432,"tag":448,"props":1791,"children":1793},{"className":1792},[],[1794],{"type":437,"value":1795},"/project",{"type":437,"value":1797}," directory which will save it in your DNAnexus project.",{"type":432,"tag":626,"props":1799,"children":1801},{"className":628,"code":1800,"language":630,"meta":424,"style":424},"root@cwic:~# chromosomes=(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22)\nroot@cwic:~# for chr in ${chromosomes[@]}; do\n  echo $chr;\n  dx run app-cwic  \\\n    -icredentials=\u003CDX_PROJECT_WITH_CREDS>:creds.txt \\\n    -icmd=\"samtools view -b /project/\u003CYOUR_DX_PROJECT_NAME>/test.bam ${chr} -o /project/\u003CYOUR_DX_PROJECT_NAME>/bam_${chr}.bam;\" \\\n    -y;\ndone\n",[1802],{"type":432,"tag":448,"props":1803,"children":1804},{"__ignoreMap":424},[1805,1939,1983,2001,2024,2057,2119,2131],{"type":432,"tag":636,"props":1806,"children":1807},{"class":638,"line":639},[1808,1813,1818,1823,1828,1834,1839,1844,1849,1854,1859,1864,1869,1874,1879,1884,1889,1894,1899,1904,1909,1914,1919,1924,1929,1934],{"type":432,"tag":636,"props":1809,"children":1810},{"style":643},[1811],{"type":437,"value":1812},"root@cwic:~#",{"type":432,"tag":636,"props":1814,"children":1815},{"style":648},[1816],{"type":437,"value":1817}," chromosomes=",{"type":432,"tag":636,"props":1819,"children":1820},{"style":654},[1821],{"type":437,"value":1822},"(",{"type":432,"tag":636,"props":1824,"children":1825},{"style":643},[1826],{"type":437,"value":1827},"1",{"type":432,"tag":636,"props":1829,"children":1831},{"style":1830},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1832],{"type":437,"value":1833}," 2",{"type":432,"tag":636,"props":1835,"children":1836},{"style":1830},[1837],{"type":437,"value":1838}," 3",{"type":432,"tag":636,"props":1840,"children":1841},{"style":1830},[1842],{"type":437,"value":1843}," 4",{"type":432,"tag":636,"props":1845,"children":1846},{"style":1830},[1847],{"type":437,"value":1848}," 5",{"type":432,"tag":636,"props":1850,"children":1851},{"style":1830},[1852],{"type":437,"value":1853}," 6",{"type":432,"tag":636,"props":1855,"children":1856},{"style":1830},[1857],{"type":437,"value":1858}," 7",{"type":432,"tag":636,"props":1860,"children":1861},{"style":1830},[1862],{"type":437,"value":1863}," 8",{"type":432,"tag":636,"props":1865,"children":1866},{"style":1830},[1867],{"type":437,"value":1868}," 9",{"type":432,"tag":636,"props":1870,"children":1871},{"style":1830},[1872],{"type":437,"value":1873}," 10",{"type":432,"tag":636,"props":1875,"children":1876},{"style":1830},[1877],{"type":437,"value":1878}," 11",{"type":432,"tag":636,"props":1880,"children":1881},{"style":1830},[1882],{"type":437,"value":1883}," 12",{"type":432,"tag":636,"props":1885,"children":1886},{"style":1830},[1887],{"type":437,"value":1888}," 13",{"type":432,"tag":636,"props":1890,"children":1891},{"style":1830},[1892],{"type":437,"value":1893}," 14",{"type":432,"tag":636,"props":1895,"children":1896},{"style":1830},[1897],{"type":437,"value":1898}," 15",{"type":432,"tag":636,"props":1900,"children":1901},{"style":1830},[1902],{"type":437,"value":1903}," 16",{"type":432,"tag":636,"props":1905,"children":1906},{"style":1830},[1907],{"type":437,"value":1908}," 17",{"type":432,"tag":636,"props":1910,"children":1911},{"style":1830},[1912],{"type":437,"value":1913}," 18",{"type":432,"tag":636,"props":1915,"children":1916},{"style":1830},[1917],{"type":437,"value":1918}," 19",{"type":432,"tag":636,"props":1920,"children":1921},{"style":1830},[1922],{"type":437,"value":1923}," 20",{"type":432,"tag":636,"props":1925,"children":1926},{"style":1830},[1927],{"type":437,"value":1928}," 21",{"type":432,"tag":636,"props":1930,"children":1931},{"style":1830},[1932],{"type":437,"value":1933}," 22",{"type":432,"tag":636,"props":1935,"children":1936},{"style":654},[1937],{"type":437,"value":1938},")\n",{"type":432,"tag":636,"props":1940,"children":1941},{"class":638,"line":774},[1942,1946,1951,1956,1961,1966,1972,1977],{"type":432,"tag":636,"props":1943,"children":1944},{"style":643},[1945],{"type":437,"value":1812},{"type":432,"tag":636,"props":1947,"children":1948},{"style":648},[1949],{"type":437,"value":1950}," for",{"type":432,"tag":636,"props":1952,"children":1953},{"style":648},[1954],{"type":437,"value":1955}," chr",{"type":432,"tag":636,"props":1957,"children":1958},{"style":648},[1959],{"type":437,"value":1960}," in",{"type":432,"tag":636,"props":1962,"children":1963},{"style":654},[1964],{"type":437,"value":1965}," ${",{"type":432,"tag":636,"props":1967,"children":1969},{"style":1968},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1970],{"type":437,"value":1971},"chromosomes",{"type":432,"tag":636,"props":1973,"children":1974},{"style":654},[1975],{"type":437,"value":1976},"[@]};",{"type":432,"tag":636,"props":1978,"children":1980},{"style":1979},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1981],{"type":437,"value":1982}," do\n",{"type":432,"tag":636,"props":1984,"children":1985},{"class":638,"line":1056},[1986,1991,1996],{"type":432,"tag":636,"props":1987,"children":1988},{"style":763},[1989],{"type":437,"value":1990},"  echo",{"type":432,"tag":636,"props":1992,"children":1993},{"style":1968},[1994],{"type":437,"value":1995}," $chr",{"type":432,"tag":636,"props":1997,"children":1998},{"style":654},[1999],{"type":437,"value":2000},";\n",{"type":432,"tag":636,"props":2002,"children":2003},{"class":638,"line":1096},[2004,2009,2014,2019],{"type":432,"tag":636,"props":2005,"children":2006},{"style":643},[2007],{"type":437,"value":2008},"  dx",{"type":432,"tag":636,"props":2010,"children":2011},{"style":648},[2012],{"type":437,"value":2013}," run",{"type":432,"tag":636,"props":2015,"children":2016},{"style":648},[2017],{"type":437,"value":2018}," app-cwic",{"type":432,"tag":636,"props":2020,"children":2021},{"style":1968},[2022],{"type":437,"value":2023},"  \\\n",{"type":432,"tag":636,"props":2025,"children":2026},{"class":638,"line":1134},[2027,2032,2037,2042,2047,2052],{"type":432,"tag":636,"props":2028,"children":2029},{"style":648},[2030],{"type":437,"value":2031},"    -icredentials=",{"type":432,"tag":636,"props":2033,"children":2034},{"style":654},[2035],{"type":437,"value":2036},"\u003C",{"type":432,"tag":636,"props":2038,"children":2039},{"style":648},[2040],{"type":437,"value":2041},"DX_PROJECT_WITH_CREDS",{"type":432,"tag":636,"props":2043,"children":2044},{"style":654},[2045],{"type":437,"value":2046},">",{"type":432,"tag":636,"props":2048,"children":2049},{"style":648},[2050],{"type":437,"value":2051},":creds.txt",{"type":432,"tag":636,"props":2053,"children":2054},{"style":1968},[2055],{"type":437,"value":2056}," \\\n",{"type":432,"tag":636,"props":2058,"children":2059},{"class":638,"line":1171},[2060,2065,2069,2074,2079,2084,2089,2094,2098,2102,2106,2111,2115],{"type":432,"tag":636,"props":2061,"children":2062},{"style":648},[2063],{"type":437,"value":2064},"    -icmd=",{"type":432,"tag":636,"props":2066,"children":2067},{"style":654},[2068],{"type":437,"value":1043},{"type":432,"tag":636,"props":2070,"children":2071},{"style":648},[2072],{"type":437,"value":2073},"samtools view -b /project/\u003CYOUR_DX_PROJECT_NAME>/test.bam ",{"type":432,"tag":636,"props":2075,"children":2076},{"style":654},[2077],{"type":437,"value":2078},"${",{"type":432,"tag":636,"props":2080,"children":2081},{"style":1968},[2082],{"type":437,"value":2083},"chr",{"type":432,"tag":636,"props":2085,"children":2086},{"style":654},[2087],{"type":437,"value":2088},"}",{"type":432,"tag":636,"props":2090,"children":2091},{"style":648},[2092],{"type":437,"value":2093}," -o /project/\u003CYOUR_DX_PROJECT_NAME>/bam_",{"type":432,"tag":636,"props":2095,"children":2096},{"style":654},[2097],{"type":437,"value":2078},{"type":432,"tag":636,"props":2099,"children":2100},{"style":1968},[2101],{"type":437,"value":2083},{"type":432,"tag":636,"props":2103,"children":2104},{"style":654},[2105],{"type":437,"value":2088},{"type":432,"tag":636,"props":2107,"children":2108},{"style":648},[2109],{"type":437,"value":2110},".bam;",{"type":432,"tag":636,"props":2112,"children":2113},{"style":654},[2114],{"type":437,"value":1043},{"type":432,"tag":636,"props":2116,"children":2117},{"style":1968},[2118],{"type":437,"value":2056},{"type":432,"tag":636,"props":2120,"children":2121},{"class":638,"line":1205},[2122,2127],{"type":432,"tag":636,"props":2123,"children":2124},{"style":648},[2125],{"type":437,"value":2126},"    -y",{"type":432,"tag":636,"props":2128,"children":2129},{"style":654},[2130],{"type":437,"value":2000},{"type":432,"tag":636,"props":2132,"children":2133},{"class":638,"line":1214},[2134],{"type":432,"tag":636,"props":2135,"children":2136},{"style":1979},[2137],{"type":437,"value":2138},"done\n",{"type":432,"tag":433,"props":2140,"children":2141},{},[2142,2144,2150,2152,2157],{"type":437,"value":2143},"After your jobs have finished running. You can run ",{"type":432,"tag":448,"props":2145,"children":2147},{"className":2146},[],[2148],{"type":437,"value":2149},"dx-reload-project",{"type":437,"value":2151}," to refresh the ",{"type":432,"tag":448,"props":2153,"children":2155},{"className":2154},[],[2156],{"type":437,"value":1795},{"type":437,"value":2158}," directory and see the newly added chromosome slices.",{"type":432,"tag":1431,"props":2160,"children":2162},{"id":2161},"reloading-project-directory",[2163],{"type":437,"value":2164},"Reloading project directory",{"type":432,"tag":433,"props":2166,"children":2167},{},[2168,2170,2176,2178,2183],{"type":437,"value":2169},"You may not see the updated files in your ",{"type":432,"tag":448,"props":2171,"children":2173},{"className":2172},[],[2174],{"type":437,"value":2175},"/project/\u003CYOUR_PROJECT_NAME>",{"type":437,"value":2177}," directory immediately after they are added.\nIn order to reload the project directory on the CWIC node with the latest files from your DNAnexus project, run ",{"type":432,"tag":448,"props":2179,"children":2181},{"className":2180},[],[2182],{"type":437,"value":2149},{"type":437,"value":2184}," and you will see any new files.\nUnfortunately, this is a manual step at the moment: in a future iteration, we plan to have this update your files automatically.",{"type":432,"tag":433,"props":2186,"children":2187},{},[2188,2190,2196,2198,2204,2206,2211],{"type":437,"value":2189},"If you get a message such as ",{"type":432,"tag":448,"props":2191,"children":2193},{"className":2192},[],[2194],{"type":437,"value":2195},"umount: /project: target is busy.",{"type":437,"value":2197},", ",{"type":432,"tag":448,"props":2199,"children":2201},{"className":2200},[],[2202],{"type":437,"value":2203},"cd",{"type":437,"value":2205}," into a directory other than ",{"type":432,"tag":448,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":437,"value":1795},{"type":437,"value":2212}," and try reloading again.",{"type":432,"tag":1431,"props":2214,"children":2216},{"id":2215},"saving-any-project-updates",[2217],{"type":437,"value":2218},"Saving any project updates",{"type":432,"tag":433,"props":2220,"children":2221},{},[2222,2224,2229,2231,2237],{"type":437,"value":2223},"Updates to any files in the ",{"type":432,"tag":448,"props":2225,"children":2227},{"className":2226},[],[2228],{"type":437,"value":1795},{"type":437,"value":2230}," directory only occur every 5 minutes.\nIn order to propagate any recent updates, run ",{"type":432,"tag":448,"props":2232,"children":2234},{"className":2233},[],[2235],{"type":437,"value":2236},"dx-save-project",{"type":437,"value":2238}," to save the files to the DNAnexus project.\nIn the future, we plan to have file syncing happen automatically whenever you update a file.",{"type":432,"tag":595,"props":2240,"children":2242},{"id":2241},"terminating-the-cwic-node",[2243],{"type":437,"value":2244},"Terminating the CWIC node",{"type":432,"tag":433,"props":2246,"children":2247},{},[2248],{"type":437,"value":2249},"Since the CWIC node is an interactive job, it gets billed for the duration of the job.\nTherefore it is important to terminate the node once you are done working.",{"type":432,"tag":433,"props":2251,"children":2252},{},[2253,2255,2260,2262,2267,2269,2274,2276,2282,2284,2289],{"type":437,"value":2254},"Save your work and environment, if needed, by running ",{"type":432,"tag":448,"props":2256,"children":2258},{"className":2257},[],[2259],{"type":437,"value":2236},{"type":437,"value":2261}," and ",{"type":432,"tag":448,"props":2263,"children":2265},{"className":2264},[],[2266],{"type":437,"value":1745},{"type":437,"value":2268}," respectively.\nTo quit the node, type ",{"type":432,"tag":448,"props":2270,"children":2272},{"className":2271},[],[2273],{"type":437,"value":880},{"type":437,"value":2275}," twice to get into the app execution environment.\nPress ",{"type":432,"tag":448,"props":2277,"children":2279},{"className":2278},[],[2280],{"type":437,"value":2281},"Ctrl+c",{"type":437,"value":2283}," to quit the CWIC app and type ",{"type":432,"tag":448,"props":2285,"children":2287},{"className":2286},[],[2288],{"type":437,"value":880},{"type":437,"value":2290}," twice to get out of the terminal completely.\nYou will be prompted to terminate the job, type 'y' to terminate the job.\nYou can check if the node is still running by checking the Monitor tab in your project on the DNAnexus website.\nAlternatively, you can terminate the job from the Monitor tab.",{"type":432,"tag":513,"props":2292,"children":2294},{"id":2293},"advanced-options",[2295],{"type":437,"value":2296},"Advanced options",{"type":432,"tag":595,"props":2298,"children":2300},{"id":2299},"changing-instance-type",[2301],{"type":437,"value":2302},"Changing instance type",{"type":432,"tag":433,"props":2304,"children":2305},{},[2306,2308,2313,2315,2322],{"type":437,"value":2307},"If you require more or less runtime requirements for your nodes, you can change the instance type by specifying the flag ",{"type":432,"tag":448,"props":2309,"children":2311},{"className":2310},[],[2312],{"type":437,"value":717},{"type":437,"value":2314}," with a valid instance type from ",{"type":432,"tag":440,"props":2316,"children":2319},{"href":2317,"rel":2318},"https://documentation.dnanexus.com/developer/api/running-analyses/instance-types#summary-of-instance-types",[542],[2320],{"type":437,"value":2321},"this list",{"type":437,"value":562},{"type":432,"tag":626,"props":2324,"children":2326},{"className":628,"code":2325,"language":630,"meta":424,"style":424},"dx run app-cloud_workstation --instance-type azure:mem1_ssd1_x16 --ssh\n",[2327],{"type":432,"tag":448,"props":2328,"children":2329},{"__ignoreMap":424},[2330],{"type":432,"tag":636,"props":2331,"children":2332},{"class":638,"line":639},[2333,2337,2341,2346,2351,2356],{"type":432,"tag":636,"props":2334,"children":2335},{"style":643},[2336],{"type":437,"value":553},{"type":432,"tag":636,"props":2338,"children":2339},{"style":648},[2340],{"type":437,"value":2013},{"type":432,"tag":636,"props":2342,"children":2343},{"style":648},[2344],{"type":437,"value":2345}," app-cloud_workstation",{"type":432,"tag":636,"props":2347,"children":2348},{"style":648},[2349],{"type":437,"value":2350}," --instance-type",{"type":432,"tag":636,"props":2352,"children":2353},{"style":648},[2354],{"type":437,"value":2355}," azure:mem1_ssd1_x16",{"type":432,"tag":636,"props":2357,"children":2358},{"style":648},[2359],{"type":437,"value":2360}," --ssh\n",{"type":432,"tag":433,"props":2362,"children":2363},{},[2364],{"type":437,"value":2365},"or",{"type":432,"tag":626,"props":2367,"children":2369},{"className":628,"code":2368,"language":630,"meta":424,"style":424},"dx run app-cwic -icredentials=\u003CDX_PROJECT_NAME_WITH_CREDS>:creds.txt --instance-type mem1_ssd1_x4 --ssh -y\n",[2370],{"type":432,"tag":448,"props":2371,"children":2372},{"__ignoreMap":424},[2373],{"type":432,"tag":636,"props":2374,"children":2375},{"class":638,"line":639},[2376,2380,2384,2388,2393,2397,2402,2406,2410,2414,2419,2424],{"type":432,"tag":636,"props":2377,"children":2378},{"style":643},[2379],{"type":437,"value":553},{"type":432,"tag":636,"props":2381,"children":2382},{"style":648},[2383],{"type":437,"value":2013},{"type":432,"tag":636,"props":2385,"children":2386},{"style":648},[2387],{"type":437,"value":2018},{"type":432,"tag":636,"props":2389,"children":2390},{"style":648},[2391],{"type":437,"value":2392}," -icredentials=",{"type":432,"tag":636,"props":2394,"children":2395},{"style":654},[2396],{"type":437,"value":2036},{"type":432,"tag":636,"props":2398,"children":2399},{"style":648},[2400],{"type":437,"value":2401},"DX_PROJECT_NAME_WITH_CREDS",{"type":432,"tag":636,"props":2403,"children":2404},{"style":654},[2405],{"type":437,"value":2046},{"type":432,"tag":636,"props":2407,"children":2408},{"style":648},[2409],{"type":437,"value":2051},{"type":432,"tag":636,"props":2411,"children":2412},{"style":648},[2413],{"type":437,"value":2350},{"type":432,"tag":636,"props":2415,"children":2416},{"style":648},[2417],{"type":437,"value":2418}," mem1_ssd1_x4",{"type":432,"tag":636,"props":2420,"children":2421},{"style":648},[2422],{"type":437,"value":2423}," --ssh",{"type":432,"tag":636,"props":2425,"children":2426},{"style":648},[2427],{"type":437,"value":1636},{"type":432,"tag":433,"props":2429,"children":2430},{},[2431],{"type":437,"value":2432},"This is useful when you want to run some non-interactive jobs that have different memory or storage requirements.",{"type":432,"tag":433,"props":2434,"children":2435},{},[2436,2438,2444],{"type":437,"value":2437},"If you have any questions or suggestions on how we can improve this guide, please email us at ",{"type":432,"tag":440,"props":2439,"children":2441},{"href":2440},"mailto:support@stjude.cloud",[2442],{"type":437,"value":2443},"support@stjude.cloud",{"type":437,"value":562},{"type":432,"tag":595,"props":2446,"children":2448},{"id":2447},"making-a-docker-hub-repository-private",[2449],{"type":437,"value":2450},"Making a Docker Hub repository private",{"type":432,"tag":433,"props":2452,"children":2453},{},[2454,2456,2461],{"type":437,"value":2455},"By default, the workstation creates a new public repository in Docker Hub.\nIt is best practice to use a private repository so that your work environment is not publicly visible on Docker Hub.\nFollow the steps below to update an existing public repository to a private one.\nThis should be done after you have already run ",{"type":432,"tag":448,"props":2457,"children":2459},{"className":2458},[],[2460],{"type":437,"value":1745},{"type":437,"value":2462}," once in the interactive session.",{"type":432,"tag":433,"props":2464,"children":2465},{},[2466],{"type":437,"value":2467},"First, go to your repositories page and click on the repository you want to make private.",{"type":432,"tag":433,"props":2469,"children":2470},{},[2471],{"type":432,"tag":966,"props":2472,"children":2475},{"alt":2473,"src":2474},"Docker Hub Repositories","/img/genomics-platform/analyzing-data/interactive-nodes/1.png",[],{"type":432,"tag":433,"props":2477,"children":2478},{},[2479],{"type":437,"value":2480},"Next, go to the 'Settings' tab and click on the 'Make private' button.",{"type":432,"tag":433,"props":2482,"children":2483},{},[2484],{"type":432,"tag":966,"props":2485,"children":2488},{"alt":2486,"src":2487},"Docker Hub Repository Settings","/img/genomics-platform/analyzing-data/interactive-nodes/2.png",[],{"type":432,"tag":433,"props":2490,"children":2491},{},[2492],{"type":437,"value":2493},"Type the name of the repository and click on the 'Make private' button.",{"type":432,"tag":433,"props":2495,"children":2496},{},[2497],{"type":432,"tag":966,"props":2498,"children":2501},{"alt":2499,"src":2500},"Docker Hub Repository Make Private","/img/genomics-platform/analyzing-data/interactive-nodes/3.png",[],{"type":432,"tag":433,"props":2503,"children":2504},{},[2505],{"type":437,"value":2506},"Finally, you can see the repository is now set to private and you can continue using interactive sessions as normal.",{"type":432,"tag":433,"props":2508,"children":2509},{},[2510],{"type":432,"tag":966,"props":2511,"children":2514},{"alt":2512,"src":2513},"Docker Hub Repositories with Private","/img/genomics-platform/analyzing-data/interactive-nodes/4.png",[],{"type":432,"tag":2516,"props":2517,"children":2518},"style",{},[2519],{"type":437,"value":2520},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":424,"searchDepth":774,"depth":774,"links":2522},[2523,2524,2532,2539],{"id":515,"depth":774,"text":5},{"id":586,"depth":774,"text":535,"children":2525},[2526,2527,2528,2529,2530,2531],{"id":597,"depth":1056,"text":600},{"id":616,"depth":1056,"text":619},{"id":730,"depth":1056,"text":733},{"id":800,"depth":1056,"text":803},{"id":839,"depth":1056,"text":842},{"id":866,"depth":1056,"text":869},{"id":897,"depth":774,"text":94,"children":2533},[2534,2535,2536,2537,2538],{"id":931,"depth":1056,"text":934},{"id":999,"depth":1056,"text":1002},{"id":1269,"depth":1056,"text":1272},{"id":1318,"depth":1056,"text":1321},{"id":2241,"depth":1056,"text":2244},{"id":2293,"depth":774,"text":2296,"children":2540},[2541,2542],{"id":2299,"depth":1056,"text":2302},{"id":2447,"depth":1056,"text":2450},"markdown","content:3.genomics-platform:4.analyzing-data:4.interactive-nodes.md","content","3.genomics-platform/4.analyzing-data/4.interactive-nodes.md","3.genomics-platform/4.analyzing-data/4.interactive-nodes","md",[2550,2552],{"_path":92,"title":91,"description":2551},"This guide will take you through the process of writing an application for working with and manipulating the St. Jude data you've requested.\nBy creating your own application, you will be able to wrap genomic tools and packages from external sources, as well as any tool or application you might have written yourself.",{"_path":98,"title":97,"description":2553},"In the future, we will release an alpha version of the GenomePaint visualization tool on St. Jude Cloud.\nIn the meantime, the best way to visualize NGS data on St. Jude Cloud is using IGV.\nYou can use the desktop or web browser versions of IGV.",1791243637884]