<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Quilt - Medium]]></title>
        <description><![CDATA[Quilt is a data mesh for cross-functional teams - Medium]]></description>
        <link>https://medium.com/quilt?source=rss----472193aca216---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Quilt - Medium</title>
            <link>https://medium.com/quilt?source=rss----472193aca216---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:50:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/quilt" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Everyday A.I. for the Life Sciences: Document Summary in Amazon Bedrock]]></title>
            <link>https://medium.com/quilt/everyday-a-i-for-the-life-sciences-document-summary-in-amazon-bedrock-97322073d4d6?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/97322073d4d6</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[life-sciences]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Fri, 11 Oct 2024 23:40:57 GMT</pubDate>
            <atom:updated>2024-10-11T23:40:42.564Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s tantalizing to talk about generative AI but how can you make AI <em>practical</em> for your enterprise? While working with companies in the life sciences with cross-functional teams of wet and dry scientists, we have found that document summary is a compelling first use case for generative AI. Generative AIs write actionable, mostly accurate summaries of the following types of documents:</p><ol><li>Scientific papers</li><li>Quality documents</li><li>Instrument manuals</li></ol><p>Naturally, the above documents may contain proprietary or sensitive information, so we recommend that you use Generative AI models that run exclusively in your virtual private cloud, as opposed to public websites and models. See our previous article on <a href="https://blog.quiltdata.com/understanding-security-and-governance-for-cloud-ai-services-with-aws-bedrock-examples-511fc2e0fdf0">Security and Governance for AI</a> for more on this topic.</p><p>In the following sections we’ll show you how to use Amazon Bedrock and Quilt Qurator to summarize scientific documents.</p><h3>Background</h3><p>We’re going to use pre-trained foundation models for our tutorial. We recommend Claude 3.5 Sonnet as a starting point given its high-quality reasoning and support for document attachments.</p><p>Foundation models are pretrained and possess a general understanding of the world. They apply this general understanding to specific problems at hand via a <em>context window </em>that contains your conversation with the model plus any attachments. The larger the context window the more information the model can consider when responding to your prompts. Each human word corresponds to a little more than one token, so a 20 page PDF with 500 words per page contains about 10,000 words (or about 13,000 tokens) and easily fits into the 200,000 token context of Anthropic models like Claude 3 Sonnet.</p><p>Foundation models are distinct from fine-tuned models. Fine-tuned models require custom training and are beyond the scope of this article.</p><h3>Summarizing scientific documents with AWS Bedrock</h3><h4>Enable Claude 3 Sonnet</h4><ol><li>Sign in to the Amazon Console, select a <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-regions.html">Bedrock-compatible region</a>, and navigate to Bedrock.</li><li>Scroll down to <em>Bedrock configurations &gt; Model access</em> and request access to Claude 3 Sonnet. After a few minutes you should see “Access granted.”</li></ol><h4>Summarize the first document</h4><ol><li>Navigate to Playgrounds &gt; Chat and select Claude 3 Sonnet as your model.</li><li>Attach the paper <a href="https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1001296">Nonheritable Cellular Variability Accelerates the Evolutionary Processes of Cancer</a>.</li></ol><blockquote>You’ll find that Claude 3 Sonnet has a 4.5MB file size limit. On a Mac you can export a PDF to PDF and choose the Quartz Filter <em>Reduce File Size</em>.</blockquote><p>We can now prompt the model:</p><blockquote>Repeat the abstract verbatim then give your own summary focusing on things not in the abstract.</blockquote><p>You’ll probably notice that the model finds the author summary on page 2 but doesn’t quite grab the abstract from the first page. You can think of generative AI models as bright but sometimes callow and inexperienced assistants. That means you’ll need to iteratively prompt them to refine their output. The more targeted and specific your prompts, the better the response quality. Since generative models create statistically probable but imperfect sentences, you should independently verify important conclusions.</p><blockquote>I asked you to quote the abstract verbatim and what you responded with was nowhere in the paper. Look at the summary section?</blockquote><p>Now you’ll see the model produces the correct abstract. We proceed as follows:</p><blockquote>Summarize the Discussion and give me the first five references in a numbered list.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4VgmqjQcIooEu1Rjwh3rA.png" /><figcaption>Amazon Bedrock summarizes a scientific paper with Claude 3 Sonnet.</figcaption></figure><h4>Configuration</h4><p>You can adjust the behavior of the model with system prompts (general guidelines that should apply to the entire conversation) or with the temperature. Lower temperatures produce more deterministic responses and higher temperatures more creative responses. For scientific paper summary we recommend starting with a temperature of zero and adjusting up according to your needs.</p><p>If you’re starting to think there is art to this science, you’re right. Large language models (LLMs) emit statistically plausible responses as a function of their training and the context you provide to them.</p><h4>Cost</h4><p>We’ll be using Bedrock on-demand throughput, which <a href="https://aws.amazon.com/bedrock/pricing/">charges</a> on the number of tokens in and the number of tokens out. For Claude 3 Sonnet Amazon charges $.003 per 1,000 input tokens and $.015 per 1,000 output tokens. So if you ask 20 questions from a 20-page paper and receive 2,000 total tokens in response, you’ll pay about 33 cents.</p><h3>Summarizing quality docs and instrument manuals with Quilt Qurator</h3><p>Teams that neither wish to send scientists to the Amazon Console nor roll their own AI infrastructure can use Quilt Qurator. Qurator is an out-of-the box solution that sets up and administers Amazon Bedrock for you, provides a user interface for non-developers, and automates retrieval-augmented generation (RAG) so that your model has access to the right information to answer your questions. Qurator is part of the Quilt Platform.</p><p>We start by uploading the FDA’s <a href="https://www.fda.gov/media/94074/download">Quality System Regulation Process Validation</a> and <a href="https://support.illumina.com/content/dam/illumina-support/documents/documentation/system_documentation/miseq/miseq-system-guide-for-local-run-manager-15027617-05.pdf">Illumina’s MiSeq System Guide</a> to a Quilt package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*34A9m3_jx_T5R2JYKt5j1w.png" /><figcaption>Drag and drop a PDF into Amazon S3 with the Quilt Catalog.</figcaption></figure><p>We then click on the first document and Summarize and Chat with AI. We can now see how scientists would gain an understanding of IQ, OQ, and PQ from FDA materials with the help of Qurator:</p><blockquote>Define IQ, OQ, and PQ for scientists in a bulleted list.</blockquote><p>We receive the following response:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ER3gt_qQTSfR8Ltfzr1isw.png" /><figcaption>Quilt Qurator interprets FDA quality docs on IQ, OQ, PQ—powered by Amazon Bedrock.</figcaption></figure><p>Switching to the MiSeq system guide we now ask Qurator “How do I change a flow cell?” Qurator responds as follows:</p><p><em>The guide provides the following steps to change/load a new flow cell on the MiSeq:</em></p><ol><li><em>Put on a new pair of powder-free gloves.</em></li><li><em>Using plastic forceps, remove the old flow cell from the flow cell container.</em></li><li><em>Rinse the new flow cell with laboratory-grade water to remove any excess salts. Dry it thoroughly with a lint-free lens tissue, being careful around the gasket area.</em></li><li><em>Clean the flow cell glass with an alcohol wipe and dry it to remove any streaks or lint.</em></li><li><em>In the software, go to the Load Flow Cell screen during run setup.</em></li><li><em>Open the flow cell compartment door and press the release button to open the flow cell clamp.</em></li><li><em>Place the new flow cell on the flow cell stage.</em></li><li><em>Gently press down on the flow cell clamp to close and secure the new flow cell in place.</em></li><li><em>Close the flow cell compartment door.</em></li><li><em>Proceed with loading the reagents and starting the run.</em></li></ol><p><em>The guide emphasizes properly cleaning and drying the new flow cell before loading to prevent any salts or debris from affecting imaging and sequencing.</em></p><h3>Conclusion</h3><blockquote>Consider models as bright but sometimes hasty and inexperienced assistants. Prompt them to correct their mistakes and refine their conclusions. The more targeted and specific your prompts, the better the response quality.</blockquote><p>You can now summarize scientific papers, quality documents, and instrument manuals with Amazon Bedrock and Quilt Qurator. In future articles we’ll tackle the more ambitious problem of document <em>corpus</em> summary, where we’ll use the LLMs to summarize and interpret findings across hundreds of documents.</p><p>As of this writing generative AI is an effective tool for document summary in the life sciences. As with the early days of any software technology—remember the early Apple Maps?—there will be bumps along the road. We invite you to temper your expectations of machine intelligence with a bit of healthy skepticism. With time and experience your intuition for when to trust the machine will improve, as will the intelligence of the machine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97322073d4d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/everyday-a-i-for-the-life-sciences-document-summary-in-amazon-bedrock-97322073d4d6">Everyday A.I. for the Life Sciences: Document Summary in Amazon Bedrock</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A.I. is just compute: Understanding governance for LLMs is easier than you think]]></title>
            <link>https://medium.com/quilt/understanding-security-and-governance-for-cloud-ai-services-with-aws-bedrock-examples-511fc2e0fdf0?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/511fc2e0fdf0</guid>
            <category><![CDATA[governance]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 00:12:05 GMT</pubDate>
            <atom:updated>2024-09-11T00:00:45.139Z</atom:updated>
            <content:encoded><![CDATA[<h3>A.I. is just compute: Governance for LLMs is easier than you think (with AWS Bedrock examples)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*euisrCzPrL256a7y-eZaYA.png" /></figure><p>If you’re worried about security and controls for “AI” in your organization, you might be further along than you think. Although generative AI offers novel capabilities in the form of conversation and reasoning, AI services are ultimately <em>compute</em> services. Just like any compute service that you are already familiar with (e.g. EC2, BigQuery, or Databricks), generative AI models consume data as input and emit data as output.</p><p>We begin with key privacy considerations for business leaders, then introduce <em>data perimeters</em> for architects, demonstrate how to construct a data perimeter with IAM, and conclude with a simplified model to demystify security for generative AI so that business leaders and architects can <em>conceptualize AI security</em> as they roll out large language models (LLMs)<em>.</em></p><h3>Can third parties access my data?</h3><p>We all use the Internet but less often do we consider the distinction between public and virtual private cloud services. Public cloud services, although they encrypt traffic in both directions, are nevertheless reachable by anyone on the open Internet. That does not mean that anyone can read the data that you send to services like perplexity.ai and chatgpt.com, but it does mean that anyone could attack these services. Furthermore, public cloud services tend to be <em>multi-tenant</em> (there are many users of the same infrastructure) and provide little to no control over data <em>residency</em> (where data are stored), or how data are stored at rest. In fact the data storage policies of a public cloud service are ultimately a matter of faith in the provider and its certifications since the service hides the native storage layer from its users.</p><p>Public cloud services, in brief, expose a broader attack surface, require greater trust in third parties, and may even include onerous terms of service that enable the provider to access your data. For instance, Adobe recently updated its license provisions to include the following 😳:</p><blockquote><em>2.2 </em><strong><em>Our Access to Your Content.</em></strong><em> We may access, view, or listen to your Content through both automated and manual methods, but only in limited ways, and only as permitted by law. </em>[ATL-ADB]</blockquote><p>In contrast to the public cloud, virtual private cloud services are offered on private Internet Protocol addresses, and require less trust in third parties since you directly control how data rests and transits. We therefore recommend <em>virtual private cloud </em>models as the only viable generative AI services for sensitive business data. A virtual private cloud model ensures that data remain under your exclusive control through the following mechanisms:</p><ol><li>They use a private copy of the model</li><li>They never share data with any third party (not even the model provider)</li><li>They never use your data to train or improve anyone else’s models</li></ol><p>In the next section we explain how you can apply a data perimeter around your models and the data that they traffic in order to ensure that both remain under your exclusive control.</p><h3>Enter the data perimeter (so no one else can)</h3><p>A data perimeter is a set of preventive guardrails that help to ensure only <strong>trusted identities</strong> access <strong>trusted resources</strong> from <strong>expected networks</strong> [AWS-DP].</p><p>You’ll notice that a data perimeter considers <em>who</em> can access data (Identity), <em>which</em> data and compute they can access (Resources), and <em>where</em> they can access it from (Network). You use your cloud provider’s Identity and Access Management (IAM) controls to configure Identity, Resources, and Network policies into a data perimeter.</p><h4>Identity &amp; Resources</h4><p>For instance, suppose you wish to control which identities can access a specific foundation model in Amazon Bedrock. Although Bedrock currently does not support resource policies, you can nevertheless attach a policy to the roles of your intended users.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: {<br>        &quot;Sid&quot;: &quot;AllowInference&quot;,<br>        &quot;Effect&quot;: &quot;Allow&quot;,<br>        &quot;Action&quot;: [<br>            &quot;bedrock:InvokeModel&quot;,<br>            &quot;bedrock:InvokeModelWithResponseStream&quot;<br>         ],<br>        &quot;Resource&quot;: &quot;arn:aws:bedrock:*::foundation-model/model-id&quot;<br>    }<br>}</pre><p>If you further wish to restrict the principals and networks that can access a given model, you can use a VPC endpoint. The VPC endpoint is only accessible to principals in your VPC and routes traffic over AWS’s private network.</p><pre>{<br>  &quot;Version&quot;: &quot;2012-10-17&quot;,<br>  &quot;Statement&quot;: [<br>    {<br>      &quot;Sid&quot;: &quot;AllowSpecificPrincipals&quot;,<br>      &quot;Effect&quot;: &quot;Allow&quot;,<br>      &quot;Principal&quot;: {<br>        &quot;AWS&quot;: [<br>          &quot;arn:aws:iam::123456789012:role/Bob&quot;,<br>          &quot;arn:aws:iam::123456789012:user/Alice&quot;<br>        ]<br>      },<br>      &quot;Action&quot;: &quot;*&quot;,<br>      &quot;Resource&quot;: &quot;*&quot;<br>    }<br>  ]<br>}</pre><h4>Network</h4><p>Known networks include VPCs and VPNs. Note that this is orthogonal to identity. In thinking about network security, we think only about the <em>position</em> of our principals in the network topology. You may choose to impose controls on properties such as &quot;aws:SourceVpce&quot; , &quot;aws:SourceIp&quot;, and&quot;aws:PrincipalIsAWSService&quot;. For details see Quilt’s documentation on <a href="https://docs.quiltdata.com/advanced/private-endpoint-access">private endpoints</a>.</p><h3>Keeping people (and machines) away from sensitive data</h3><p><em>Guardrails</em> are like policy filters that restrict model inputs and outputs. Consider Sensitive information filters to screen personally identifiable information (PII) from user prompts and model responses. For example, suppose your users interact with an agent to summarize sensitive data that contains social security numbers and bank account numbers. You can anonymize the former and block the latter as follows with <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html">Guardrails in AWS CloudFormation</a>.</p><pre>Resources:<br>  BedrockGuardrail:<br>    Type: AWS::Bedrock::Guardrail<br>    Properties:<br>      GuardrailName: SensitiveInformationGuardrail<br>      SensitiveInformationPolicyConfig:<br>        PiiEntitiesConfig:<br>          - Action: ANONYMIZE<br>            Type: US_SOCIAL_SECURITY_NUMBER<br>          - Action: BLOCK<br>            Type: BANK_ACCOUNT_NUMBER</pre><h3>Conclusion</h3><p>From the standpoint of a data perimeter there’s nothing mystical about generative AI: data goes into a compute service and data comes out. As a result, you can view AI as a special case of the compute security that you likely already have in place for pipelines and services. You can further apply guardrails as content and security filters to expurgate personally identifiable information.</p><p>To centralize security and access management across accounts and organizations, consider AWS services like Control Tower and Service Control Policies (SCPs). SCPs enable you to dictate permission at scale, without having to author individual roles and policies.</p><h3>References</h3><ul><li>AWS-DP — <a href="https://aws.amazon.com/identity/data-perimeters-on-aws/">Data perimeters on AWS</a></li><li>ATL-ADB — <a href="https://abovethelaw.com/2024/06/adobe-will-update-terms-of-service-agreement-after-customers-who-actually-read-that-long-document-express-concerns-about-ai-and-privacy/">Adobe Will Update Terms Of Service Agreement After Customers Who Actually Read That Long Document Express Concerns About AI And Privacy</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=511fc2e0fdf0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/understanding-security-and-governance-for-cloud-ai-services-with-aws-bedrock-examples-511fc2e0fdf0">A.I. is just compute: Understanding governance for LLMs is easier than you think</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Data Fragmentation to Collaboration with Quilt]]></title>
            <link>https://medium.com/quilt/from-data-fragmentation-to-collaboration-with-quilt-7dc27a7a69cb?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/7dc27a7a69cb</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[nextflow]]></category>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Laura Richards]]></dc:creator>
            <pubDate>Mon, 27 Nov 2023 03:17:45 GMT</pubDate>
            <atom:updated>2023-11-27T03:17:45.133Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Fragmentation to Collaboration with Quilt: Reproducible Genomic Pipelines with Seamless IGV and Amazon S3 Integration</h3><p>Next-generation sequencing (NGS) has revolutionized our understanding of molecular mechanisms underpinning human disease, driven the development of clinically-relevant biomarkers, and fueled the discovery of novel drug targets. Despite the ever-growing volume of NGS data generated, tools to efficiently access, share and query sequencing data lag behind technological advances. Data inaccessibility represents a persistent barrier hindering the productivity of interdisciplinary research teams, in both academia and industry. This article sheds light on the common challenges encountered by researchers when generating, processing, sharing, and analyzing genomic data, while also exploring Quilt as a solution to make large-scale genomic data more accessible to all researchers, irrespective of their programming abilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wEp8H_SJs80VqHeFRNd06A.png" /><figcaption>The exponential growth of genomics data is a clear and pressing reality! While the generation of NGS data continues to surge, the tools available for streamlined data access, sharing, and querying struggle to keep pace with technological advancements — underscoring the critical need for innovative data management solutions. (Infographic source: <a href="https://www.genome.gov/about-genomics/fact-sheets/Genomic-Data-Science">National Human Genome Research Institute</a>)</figcaption></figure><h3><strong>Genomics Data is Traditionally Inaccessible</strong></h3><p>Unlocking the potential of NGS data can be a difficult endeavor, one that routinely presents researchers with a unique array of challenges. As detailed below, these challenges arise from the immense scale, complexity, deep domain knowledge and reliance on specialized tools to effectively process and analyze NGS data.</p><p><strong>Data Volume and Complexity</strong></p><p>NGS data is big! Each sequencing run produces millions to billions of short DNA fragments, called reads. When dealing with multiple samples or replicates, NGS datasets can often balloon to terabytes of raw sequencing data. The sheer volume of data generated — even for average sized profiling studies — requires careful management to avoid overwhelming computational resources and storage limits. Consequently, NGS data is often stored and interacted with via high-performance computing (HPC) or cloud solutions — introducing a prominent accessibility barrier for team members less versed in programming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3xzMEDnpi0HWPyiudR-O9Q.png" /><figcaption>Large genomics initiatives can generate huge volumes of data! For example, the <a href="https://open.quiltdata.com/b/1000genomes">1000 Genomes Quilt package</a> contains over 750 TB of genomic data.</figcaption></figure><p><strong>Data Access</strong></p><p>NGS data is often stored in boutique file formats unique to the genomics community and requires specialized applications to interact with the data. For example, NGS pipelines often store results in binary formats, such as BAM (Binary Alignment/Map) files or VCFs (variant call format), which are optimized for computational efficiency but not user-friendly for data exploration. Accessing and extracting specific information from these files typically requires the use of command-line tools and scripts, which presents a significant barrier for scientists who are not proficient in command-line operations or comfortable navigating complex data structures.</p><p><strong>Data Fragmentation</strong></p><p>Processing of NGS data involves multiple interconnected stages, including quality control, alignment to reference genomes, variant calling, and downstream analysis. Each of these stages generates intermediate files and logs. These files are often scattered across different directories and storage locations, making it difficult to track the entire data workflow and pinpoint specific files — particularly when conducting a search long after the initial pipeline execution.</p><p><strong>Data Versioning and Reproducibility</strong></p><p>Ensuring the reproducibility of analyses is a fundamental aspect of rigorous scientific research. However, maintaining a precise record of particular data versions, packages, and analysis pipelines used in a given study is challenging. Traditional methods often rely on ad hoc documentation and file naming conventions, making it difficult to establish clear data versioning and lineage. In the biopharmaceutical industry, where precision is paramount, reproducibility and versioning are critical throughout the drug development lifecycle, from research inception to clinical trials and post-market monitoring.</p><p><strong>Collaboration</strong></p><p>Genomics research is inherently multidisciplinary, involving numerous research teams from project management and clinical operations to data engineering, computational biology, and experimental scientists — all of whom require access to various results from genomics pipelines. Effective collaboration across diverse teams is essential to advance research agendas, but can be hindered by the piecemeal solutions available to effectively interact with and interpret genomics data, especially when not all team members are comfortable using command-line tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZQQICvfTP0142mgN-DYXg.png" /><figcaption>Ensuring accessibility to genomics data, such as whole exome sequencing (WES), for diverse interdisciplinary teams can prove to be a complex endeavor. This complexity arises from the sheer volume of data, issues related to data fragmentation, the dependence on command line tools, and the intricacies of data sharing throughout every stage of the WES pipeline, spanning from alignment to customized analyses.</figcaption></figure><p>Significant strides have been made to enhance the accessibility of genomics data to the broader scientific community through interactive web interfaces. However, these portals usually deliver data in its final processed form, such as discrete mutation calls or normalized gene expression values, often omitting valuable information regarding the underlying pipeline parameters, as well as upstream raw values and intermediate files, which can be crucial for internal research efforts. Collectively, these challenges underscore the need for a comprehensive solution that can bridge the gap in data accessibility, enabling research teams to seamlessly query, track, and share NGS data throughout its entire lifecycle.</p><h3><strong>Quilt for Genomics Data</strong></h3><p><a href="https://docs.quiltdata.com/">Quilt</a> tackles NGS data challenges by bundling all elements of genomics pipelines, including raw data, execution commands, logs, outputs, and downstream analysis, into cohesive version-controlled packages. In addition to supporting interactive visualizations, these packages simplify the process of sharing and querying data, thereby fostering effortless collaboration among colleagues across diverse disciplines, regardless of programming proficiency.</p><p>The remainder of this article presents a <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing.">real-word example</a> of how Quilt data packages can streamline processing, analysis, visualization and sharing of a specific type of NGS data known as whole exome sequencing (WES). The workflow mirrors current state-of-the-art data protocols used by bioinformaticians and computational biologists, while further leveraging the advantages of Quilt packages to streamline and expedite traditionally time-consuming and fragmented tasks to ultimately unlock the maximum utility of genomic data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*jFwQIsAhrZeVQWRrHuA0QA.gif" /><figcaption>Overview of the WES demo Quilt package through the catalog interface. <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing">Explore the Quilt package yourself</a>!</figcaption></figure><h3><strong>Quilt for Versioned Reproducible Genomic Pipelines</strong></h3><p>Genomic pipelines need data! For this case study, we downloaded raw WES data in the form of FASTQs from 9 samples in the <a href="https://sites.broadinstitute.org/ccle/">Cancer Cell Line Encyclopedia (CCLE)</a> — a groundbreaking database of gene expression, genotype, and drug sensitivity data for hundreds of <em>in vitro </em>human tumor models, called cancer cell lines.</p><p>After uploading the FASTQs to the project’s Quilt package using a simple <a href="https://docs.quiltdata.com/api-reference/package#package.push">quilt3 push</a>, we processed the data with <a href="https://nf-co.re/sarek/3.2.3">nf-core/sarek</a> — a <a href="https://nf-co.re/">community maintained Nextflow pipeline</a> for WES pre-processing, somatic variant calling and annotation. By enabling the <a href="https://docs.quiltdata.com/examples/nextflow">nf-quilt plugin</a>, we can read input data and automatically write pipeline outputs directly to the project’s Quilt package by adding a single -plugins parameter in the execution command.</p><pre>nextflow run nf-core/sarek -profile docker \<br>    -plugins nf-quilt@0.4.5 \ # use nf-quilt plugin<br>    -resume \<br>    --outdir &quot;quilt+s3://quilt-example-bucket#package=wes/result&quot; \<br>    --input &quot;quilt+s3://quilt-example-bucket#package=wes/result@3fdbe6d509e1c19b373126deba20bf967773c4c16961ddef1b67865618035f49&amp;path=input_fastqs%2Fsarek_samplesheet.csv&quot; \<br>    --wes true \<br>    --save_mapped true \<br>    --save_output_as_bam true \<br>    --tools &quot;freebayes,mpileup,mutect2,strelka,vep&quot;</pre><blockquote>“By combining the reproducibility of Nextflow workflows with the versioning and query capabilities of Quilt, analysts can easily access and manage data across multiple pipeline iterations, while benefiting from auto-generated run documentation.”</blockquote><p>NGS pipelines often fragment data, intermediate files and logs across multiple directories, complicating tracking the flow of data and pinpointing specific files. With Quilt packages, every element, from input data to custom outputs and visualizations, is unified and versioned, with added facet search capabilities to easily locate items based on their contents.</p><p>Quilt offers an intuitive, user-friendly interface on top of S3 buckets for accessing and interacting with data without the need for programming, called the <a href="https://docs.quiltdata.com/walkthrough/working-with-the-catalog">Quilt catalog</a>. The <a href="https://docs.quiltdata.com/catalog/preview">Quilt catalog can render previews </a>directly in the browser for multiple file types, including html, csv and genomics-specific file types such as FASTQs and VCFs. For example, researchers can easily view the interactive MultiQC report produced by the nf-core/sarek WES pipeline to quickly evaluate the quality of sequencing runs without having to dig around their computational resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lj-gsggtzwCNg7F96xa6QA.png" /><figcaption>MultiQC reports aggregate QC information across multiple tools to give a granular view of the quality of the sample sequencing quality. The Quilt Catalog automatically renders an interactive preview of MultiQC reports. <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/multiqc/multiqc_report.html">Check out the nf-core/sarek</a><a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/multiqc/multiqc_report.html"> MultiQC report from our demo Quilt package</a>!</figcaption></figure><p>Additionally, Quilt makes it almost effortless to explore genomic alignments and variants across samples <a href="https://blog.quiltdata.com/visualize-and-share-igv-genome-tracks-with-quilt3-and-json-and-zero-backend-code-bd1558b641c3">using Integrative Genomics Viewer (IGV)</a>. For example, we can directly load BAM files generated by the nf-core/sarek pipeline to browse somatic mutations, such as <em>KRAS</em>, and evaluate the quality and quantity of read alignments across samples at different genomic loci.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*5_rZEaXgNNjkPCRLhkVqZw.gif" /><figcaption>Interactive exploration of alignment files (.bam) generated by nf-core/sarek analysis pipeline by IGV within Quilt package. <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/latest/igv.json?mode=igv">Browse your favorite genes and genomic loci in the demo Quilt package!</a></figcaption></figure><p>In addition to the more <a href="https://github.com/igvteam/igv.js#igvjs">traditional JavaScript implementation of IGV </a>, the IGV team has developed a <a href="https://github.com/igvteam/igv-reports">python application called </a><a href="https://github.com/igvteam/igv-reports">igv-reports</a> to generate HTML reports that consist of a table of genomic sites or regions and associated IGV views for each site. These reports can be rendered directly within Quilt packages using the<a href="https://docs.quiltdata.com/catalog/preview#advanced-html-rendering-and-quilt-package-file-server"> Quilt’s package file server.</a></p><p>In contrast to the browsable JavaScript implementation, the package file server IGV rendering is exclusively focused on the genomic sites specified within the HTML report. It does not permit browsing via the search bar, such as entering gene names or new genomic positions. Nevertheless, the IGV package file server solution offers a significant advantage by eliminating the need to load entire BAM files, as is required by the JavaScript version. As a result, this approach ensures lightning-fast browsing of the variant table, making it particularly well-suited for focused analyses at specific genomic sites — such as visually inspecting alignments at common cancer hotspots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*Qka3fBpMsTjw4hsj9S3b4g.gif" /><figcaption>Example from our WES demo, where we use <a href="https://demo.quiltdata.com/b/quilt-example-bucket/packages/wes/result/tree/latest/igv_sarek_variants.html">the Quilt package file server to render an interactive IGV report</a> to quickly scan alignments at genomic sites corresponding to common cancer mutation hotspots.</figcaption></figure><p>Every piece of data in a Quilt package has versioned shareable links, ensuring everyone views the same exact data, reducing confusion and misinterpretation. Quilt links eliminate the need to email large genomic files, simplifying communication between team members. No more mutation_file_final_FINAL_v2b.csv! Quilt’s user-friendly interface, efficient data packaging, and real-time collaboration capabilities empower researchers to focus on their science rather than wrestling with data accessibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KTUtdVYwwiP1ZBtlQkHWmg.png" /><figcaption>The Quilt catalog automatically renders previews of a variety of file types, including large genomic file formats such as VCFs, &amp; can generate sharebale URIs pointing to specific versions of the file. For example, <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/mafs/SRR8618987.bcftools_VEP.ann.maf.txt.gz">https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/mafs/SRR8618987.bcftools_VEP.ann.maf.txt.gz</a></figcaption></figure><h3><strong>Interactively Analyzing &amp; Visualizing Results in Quilt Packages</strong></h3><p>With Quilt, computational and bench scientists can collaboratively interact with large-scale genomic data, such as WES, in real time. Quilt lets you view computational biology code and Jupyter notebooks right directly in the Quilt catalog interface. This is particularly helpful when you need to review or understand the nitty gritty details of an analysis performed by a colleague — such as the variant filtering strategy used to whittle down WES VCFs to a high confidence list of somatic mutations performed in our example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o285wVrJdIyTiiUURZ6ocw.png" /><figcaption>B<a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/notebooks/3_filter_somatic_variants.ipynb">rowse code in a Jupyter notebook directly within our Quilt demo package!</a></figcaption></figure><p>Quilt empowers users to perform analysis on the fly directly within the interface. Computational biologists can push results files generated from custom analyses into Quilt packages to unlock a suite of <a href="https://docs.quiltdata.com/catalog/visualizationdashboards">interactive queries and visualizations</a>. For example, we can query a WES results table from our example containing &gt;25,000 mutations (rows) to quickly identify which of the CCLE samples harbor <em>KRAS</em> mutations — a popular cancer hotspot mutation of interest to many research groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*8DXP3OQMaSWZGxiPqQSjDw.gif" /><figcaption>By enabling pushing acsv file generated during downstream analysis to the Quilt package, we can render tabular data as a <a href="https://docs.quiltdata.com/catalog/visualizationdashboards#perspective">Perspective Datagrid</a> to enable filtering, plotting, pivoting and querying on the fly. <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/mafs/combined_VEP.ann.FILTERED.NONSYN.maf.tsv">Interactively explore the mutation table from our demo!</a></figcaption></figure><p>In addition to quick lookups, Quilt’s interactive visualizations can be used to perform analyses in real-time and discover new associations in genomic data. By enabling <a href="https://docs.quiltdata.com/catalog/visualizationdashboards#perspective">Perspective visualization</a>s on a simple csv file generated from our WES analysis, we can quantify the number of mutations per cell line using bar plots, compare mutation rate between cancer types using a swarmplot and explore the relationship between doubling time and percent genome altered with a scatterplot — all without writing a single line of code!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*yH8FMU3o4-LSIlhsNA3Vzw.gif" /><figcaption>Interactively explore and analyze tabular data in Quilt packages using Perspective visualizations. To make your own discoveries from our WES analysis, <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing/tree/f8fad1055951db1f278b6e9f76f9ee0945f132e5e6229c80bfd6bab8e8458194/ccle_broad_2019_clinical_data__KRAS_CRC_NSCLC_PDAC.tsv">explore the cell line mutation metadata</a>!</figcaption></figure><p>Quilt’s versatile visualization toolbox has the power to simplify meeting prep by providing an accessible platform for discussions, eliminating the need to generate extensive slides decks. The user-friendly catalog interface and streamlined data sharing capabilities can enhance communication, reduce confusion around data and support effective decision-making across organizational levels within biopharmaceutical companies.</p><h3><strong>Conclusion</strong></h3><p>The challenge with next generation sequencing data, such as WES, lies not only in its sheer volume but also in its accessibility, organization, and the ability to facilitate collaboration across diverse research teams. Quilt offers a way to package all components of a data pipeline, from raw data and execution commands to logs, outputs, and downstream analysis, into a cohesive and versioned package.</p><p>Quilt packages facilitate seamless collaboration across bench and computational researchers, enabling efficient access and analysis of large-scale genomic data. By reducing barriers to data access, Quilt empowers teams to discover, interpret, and progress their research rapidly to maximize discoveries from their genomic data.</p><p>Enabling widespread institutional access to large-scale genomic data not only enriches scientific exploration, but also has the potential to position biopharmaceutical companies at the forefront of genomics research, fostering innovation and maintaining competitiveness in the rapidly evolving field.</p><h3>Learn More</h3><p>Post questions in the comments or visit <a href="https://quiltdata.com/">https://quiltdata.com/</a> to learn more about managing and efficiently interacting with genomic data through Quilt data packages.</p><p>The whole exome sequencing Quilt package described above is publicly available for browsing at <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing">https://open.quiltdata.com/b/quilt-example/packages/examples/whole-exome-sequencing</a>.</p><p>The associated<a href="https://events.quiltdata.com/hubfs/Quilt%20Boston%20Workshop%202023/Quilt_Boston_Workshop_Presenting_Omics_Data.pptx.pdf"> Quilt Boston Workshop presentation</a> from September 6, 2023 is also available.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dc27a7a69cb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/from-data-fragmentation-to-collaboration-with-quilt-7dc27a7a69cb">From Data Fragmentation to Collaboration with Quilt</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Query AWS CloudTrail with Athena for GxP compliance & auditing]]></title>
            <link>https://medium.com/quilt/query-aws-cloudtrail-with-athena-for-gxp-compliance-auditing-29c97530f133?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/29c97530f133</guid>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[gxp]]></category>
            <category><![CDATA[athena]]></category>
            <category><![CDATA[cloudtrail]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Thu, 23 Feb 2023 01:06:59 GMT</pubDate>
            <atom:updated>2023-02-23T17:51:28.472Z</atom:updated>
            <content:encoded><![CDATA[<p>Compliance regimes like GxP require teams to audit facts such as the following:</p><ul><li>Who accessed data?</li><li>Which data did they access?</li><li>When did they access this data?</li><li>Were the data downloaded to an external device?</li></ul><h3>Pre-requisites</h3><ol><li>Your data are in Amazon S3 buckets</li><li>You are monitoring the S3 buckets in CloudTrail</li><li>You have set up an Athena table to <a href="https://docs.aws.amazon.com/athena/latest/ug/cloudtrail-logs.html">query your CloudTrail logs</a>.</li><li>You use <a href="https://docs.aws.amazon.com/athena/latest/ug/engine-versions-reference-0003.html">Amazon Athena Engine version 3</a> so that you can access to the latest Trino functions.</li></ol><h3>Example</h3><p>Suppose you wish to check CloudTrail for download events within the last hour against s3://YOUR_BUCKET. You can use the following SQL:</p><pre>SELECT * FROM &quot;YOUR_DB&quot;.&quot;YOUR_TABLE&quot;<br>WHERE date_diff(&#39;hour&#39;, from_iso8601_timestamp(eventtime), now()) &lt;= 1<br>and eventname = &#39;GetObject&#39;<br>and json_extract_scalar(requestparameters, &#39;$.bucketName&#39;) = &#39;YOUR_BUCKET&#39;;</pre><p>Let’s now examine the WHERE clause and some CloudTrail columns to understand this query.</p><h4>eventtime</h4><p>eventtime contains strings like &quot;2023–02–20T21:12:08Z&quot; that we can parse with from_iso8601_timestamp. date_diff handily creates a temporal window around its last argument. The units of the window range from nanoseconds to (ns) to days (d).</p><h4>eventname</h4><p>Depending on which agents use your S3 buckets, eventname may have a broad variety of values. A few examples of Get events include GetDownloadUrlForLayer, GetAuthorizationToken, GetTrailStatus, and (of interest to us because we wish to audit object downloads) GetObject.</p><h4>useridentity</h4><p>useridentity is a STRUCT. We’ll focus on the .userName and .principalid fields. In our example, we’re auditing usage of S3 via the Quilt Catalog, a JavaScript application wherein all users have assumed roles. We notice that userName is empty but principalid contains email addresses: &quot;ABC1234567:user<a href="/service/mailto:aneesh@quiltdata.io">@</a>example.com&quot;.</p><p>We can isolate usernames as follows:</p><pre>SELECT element_at(split(useridentity.userName, &#39;:&#39;), -1)</pre><h4>requestparameters</h4><p>requestparameters is a JSON string that we can parse with the indispensable json_extract_scalar, which uses a JSONPath expression to extract any JSON element as a string. json_extract_scalar(requestparameters, &#39;$.bucketName&#39;) pulls out the name of the parent S3 bucket. Similarly, we can isolate file names (object keys, really) with json_extract_scalar(requestparameters, &#39;$.key&#39;).</p><h3>But did they download anything?</h3><p>This is where things get interesting. In the Quilt Catalog users can <em>preview </em>S3 objects (which results in a GetObject call but the data stay within AWS Lambda), or they can <em>download</em> S3 objects to disk. To distinguish preview from download we can examine sourceipaddress and useragent. If our downloading users all share a specific IP prefix, perhaps from our VPN, we can do something like this:</p><pre>WHERE sourceipaddress LIKE &#39;10.162.%&#39;</pre><p>Alternatively, we can filter out known <a href="https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html">AWS IPs</a> to eliminate GetObject calls from within the AWS cloud.</p><p>We can even determine exactly how many bytes were transferred out:</p><pre>SELECT json_extract(additionaleventdata, &#39;$.bytesTransferredOut&#39;)<br>FROM &quot;YOUR_DB&quot;.&quot;YOUR_TABLE&quot;<br>WHERE CAST(json_extract(additionaleventdata, &#39;$.bytesTransferredOut&#39;) AS INTEGER) &gt; 0</pre><p>Another clue as to “who downloaded this S3 object” can be found in the useragent column. Notice that the quilt3 Python client and Quilt Catalog have distinct user agents.</p><ul><li>&quot;[Python-urllib/3.7]&quot;</li><li>&quot;[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36]&quot;</li></ul><h3>Conclusion</h3><p>AWS Athena is a straightforward way to comb through CloudTrail logs for compliance and auditing purposes. The queries are not always performant because they often require large table scans. In a future article, we may examine partition projection to improve performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cb3hdG_DEixgdebHQdxh3w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29c97530f133" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/query-aws-cloudtrail-with-athena-for-gxp-compliance-auditing-29c97530f133">Query AWS CloudTrail with Athena for GxP compliance &amp; auditing</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualize and share IGV genome tracks with quilt3 and JSON (and zero backend code)]]></title>
            <link>https://medium.com/quilt/visualize-and-share-igv-genome-tracks-with-quilt3-and-json-and-zero-backend-code-bd1558b641c3?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/bd1558b641c3</guid>
            <category><![CDATA[genome]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <dc:creator><![CDATA[Rob Newman]]></dc:creator>
            <pubDate>Wed, 05 Oct 2022 22:23:34 GMT</pubDate>
            <atom:updated>2022-10-05T22:23:33.932Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An IGV genome sequence visualization, as rendered by the Quilt web catalog" src="https://cdn-images-1.medium.com/max/1024/1*S1iQQmJsTxlXSMYBPepfmw.png" /><figcaption>An IGV genome sequence visualization, as rendered by the Quilt web catalog</figcaption></figure><p>Next-generation sequencing data are among the most voluminous and<br>critical in biopharma. Easy visualization of genome tracks is<br>pivotal to understanding potential drugs and therapies. The tricky part in visualizing genome tracks is not the visualization <em>but the sharing</em>, <em>which typically requires you to stand up and maintain your own visualization service so that scientists can consume the visualizations without coding.</em> In fact this is one of the most challenging tasks in data science: having to leave your native tools like Jupyter and pandas, just to share your results with others in dead-end file formats like PowerPoints, or complex web services written in flask. This article demonstrates how you can generate an IGV options file in JSON and quilt3 push the result to share genome tracks with your colleagues.</p><h3>Visualizing genome tracks</h3><p>IGV visualizations are driven by JSON files known as <a href="https://github.com/igvteam/igv.js/wiki/Browser-Creation#browser-configuration-options">IGV browser configurations</a> that specify the reference genome, tracks, and view locus, as well as the user interface.</p><h4>IGV browser configurations</h4><p>Below are two simple IGV browser configuration files, igv-options-interact.json, and igv-options.json. Copy both files to a clean directory on your machine. Note that each options file references publicly available genome sequences data from the <a href="https://software.broadinstitute.org/">Broad Institute</a>, hosted in Amazon S3:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f9d19d1d8e118793583281ae46c161e4/href">https://medium.com/media/f9d19d1d8e118793583281ae46c161e4/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/487715d214aeda90255a58cefd9f90e6/href">https://medium.com/media/487715d214aeda90255a58cefd9f90e6/href</a></iframe><p>Note that Quilt supports the following <a href="https://docs.quiltdata.com/catalog/visualizationdashboards#integrative-genomics-viewer-igv">three conventions to reference URLs</a> in an IGV options file:</p><ul><li>HTTPS links (https://)</li><li>S3 links (s3://)</li><li>Package-relative links (./your/path/to/data/)</li></ul><h4>quilt_summarize.json</h4><p>Now for the major time-saving step. Create a third file on your machine, quilt_summarize.json, with the following contents:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7098deb45ecffda58f80b66557bb2957/href">https://medium.com/media/7098deb45ecffda58f80b66557bb2957/href</a></iframe><p><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#quilt_summarize.json">quilt_summarize.json</a> specifies how the contents of your package display in the Quilt web catalog. Notice the &quot;types: [&quot;igv&quot;] line that tells the Quilt catalog to render the corresponding JSON files as genome tracks.</p><p>We now have the three files above in a directory on our local machine:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b63ba029bc801fdd88575026948ce834/href">https://medium.com/media/b63ba029bc801fdd88575026948ce834/href</a></iframe><p>You can now quilt3 pushyour working directory to S3 as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/38cfe2232737ee685a32bcd8e56f9802/href">https://medium.com/media/38cfe2232737ee685a32bcd8e56f9802/href</a></iframe><p>If your company runs its own Quilt web catalog, you will see IGV visualizations that resemble this <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/simple-igv">example of the above package</a> with genome tracks on open.quiltdata.com. (If you’re not yet running the Quilt web catalog, we plan to support IGV in future versions of the open source quilt3 catalog that you can use to browse and preview data in S3.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*8bnZOHSE-YnKs2s1ema_Qw.png" /></figure><p>You can explore genome tracks and the JSON files as shown below. The first screencast demonstrates three sequence tracks (variant, alignment, and annotation):</p><figure><img alt="Interactive exploration of a genome sequence" src="https://cdn-images-1.medium.com/max/902/1*HOPS3tqjcEXGR2n1axSgnQ.gif" /><figcaption>Interactive exploration of a genome sequence</figcaption></figure><p>You can use the “View as” menu, upper right, to view the data as JSON or an IGV visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*EdKZ9c2buxOHKYU_0Fc9Ng.gif" /><figcaption>Screencast of an interactive exploration of a BAM file (.bam)</figcaption></figure><p>The final screencast demonstrates multiple loci displayed side-by-side in split panes within the IGV visualization plugin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*eZ_cu2XLRhwQjTcJYN4jOw.gif" /><figcaption>Screencast of an interactive exploration of a multi-locus IGV visualization</figcaption></figure><h3>Learn more</h3><p>Post questions in the comments or visit <a href="https://quiltdata.com/">https://quiltdata.com/</a> to learn more about integrating wet and dry science datasets with Quilt data packages.</p><h3>Appendix: Visualization in the web catalog</h3><p>The Quilt Data web catalog facilitates dynamic reporting, currently with native support for the following libraries for visualization, exploration, and presentation:</p><ul><li><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#vega-and-vega-lite">Vega</a></li><li><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#vega-and-vega-lite">Vega-lite</a></li><li><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#echarts">ECharts</a></li><li><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#voila">Voila</a> (Developer preview)</li><li><a href="https://docs.quiltdata.com/catalog/visualizationdashboards#perspective">Perspective</a></li></ul><h4>Previewing genome sequence files</h4><p>The Quilt web catalog currently supports visual preview of large <a href="https://open.quiltdata.com/b/1000genomes/tree/phase3/data/HG00619/sequence_read/ERR031917_2.filt.fastq.gz?version=null">FASTQ</a>, <a href="https://open.quiltdata.com/search?q=ext%3A*.sam">SAM</a>, and <a href="https://open.quiltdata.com/b/1000genomes/tree/pilot_data/technical/working/20100927_exon_pilot_indels/">VCF</a> files.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd1558b641c3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/visualize-and-share-igv-genome-tracks-with-quilt3-and-json-and-zero-backend-code-bd1558b641c3">Visualize and share IGV genome tracks with quilt3 and JSON (and zero backend code)</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create and Browse Reusable Datasets in Your Private S3 Buckets with quilt3]]></title>
            <link>https://medium.com/quilt/package-data-and-visualizations-in-reusable-datasets-with-quilt-4-0-2ab1736686fc?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/2ab1736686fc</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Kevin Moore]]></dc:creator>
            <pubDate>Thu, 10 Mar 2022 01:35:48 GMT</pubDate>
            <atom:updated>2022-03-10T06:22:39.870Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uUVOeEwPTLpUXBT0f4pocQ.jpeg" /></figure><p>I’m grateful to have the chance to talk with science and data teams from many different industries and research areas. Although the teams are working in different areas and using different data systems, there’s a story I hear in almost every conversation. There’s a new person on the team; they’re trying to figure out: which datasets are available, what they mean, and who if anyone at the company knows the answer. Quite often the person who does know has left the company.</p><p>Since the release of quilt3 4.0.0, I can now show these teams how they can attach READMEs and other documentation, and visualizations to their datasets in their own S3 buckets. These simple additions make it easy for collaborators to understand the data, especially when they’re new to a project. Using the same mechanism, they can also annotate datasets with metadata and track the provenance of their data, which increases trust in the data and decisions derived from it. Quilt bundles that data, metadata, documentation, and visualizations into versioned datasets called <a href="https://docs.quiltdata.com/mentalmodel"><em>packages</em></a><em>.</em></p><h4>Quilt Data Packages</h4><p>Data packages are immutable collections of related files, metadata, and documentation. Quilt provides a revision history of the entire package (collection). Each revision is uniquely identified by a cryptographic <em>top-hash</em> (or hash of hashes). Specific package revisions can be referenced in code (e.g., by top-hash) or browsed in the Quilt web catalog.</p><p>Quilt3 includes a Python library and web catalog. Install quilt3 including the optional web catalog by running: pip install quilt3[catalog].</p><p>To illustrate Quilt in action, I chose a dataset from <a href="https://www.reefcheck.org/">Reef Check</a>, one of our public data partners on <a href="https://open.quiltdata.com/">open.quiltdata.com</a>. It focuses on sea urchin populations, especially the kelp-eating purple urchin. We’ll use Quilt to sync our data to Amazon S3, document our dataset, and track each revision.</p><h4>Reef Check</h4><p>The Reef Check Foundation was founded in 1996 to help preserve the oceans and reefs which are critical to our survival, yet are being destroyed. Reef Check trains thousands of citizen scientist divers who volunteer to survey the health of coral reefs around the world and rocky reef ecosystems along the west coast of North America.</p><p>The dataset we’re using here was collected by the Reef Check team from 2006 to 2019. It’s close to my heart because I grew up surfing in northern California. I felt the rise in ocean temperature during that time and saw its effects firsthand — especially during 2015 when an enormous marine heatwave wreaked havoc on local ecosystems.</p><p>Though in this post we’ll focus on crowned, red, and especially purple urchins, ReefCheck tracks many other species of animals, which you can see when you check out the public datasets at <a href="https://open.quiltdata.com/b/ai-on-the-beach">ai-on-the-beach</a>.</p><p>Thanks to Praful Mathur and Selena McMillan for curating and analyzing the urchin dataset and helping with this post. Thanks to everyone at Reef Check for helping protect our oceans.</p><h4>Saving the raw data</h4><p>The first step is to use S3 to create a bucket. In this example, we’ll use the AWS Python library, <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/index.html#">boto3</a>. After creating the bucket, we turn on object versioning so that all versions of files stored in the bucket will be retained.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7693fb72d95df2f5bce862b8e6026b45/href">https://medium.com/media/7693fb72d95df2f5bce862b8e6026b45/href</a></iframe><p>Once the bucket is ready, we can usequilt3 , to upload the tabular data and images to our S3 bucket and create a snapshot of the original state.</p><p>First, we create a package on our local machine and add the source data files to it. Next, we <em>push</em> the package to our bucket in S3. That will upload the raw data files, and create a new package <a href="https://docs.quiltdata.com/advanced/working-with-manifests"><em>manifest</em></a> defining the package in its new location in S3.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/023b44c853a08a16ab05cec3cc3ffaae/href">https://medium.com/media/023b44c853a08a16ab05cec3cc3ffaae/href</a></iframe><h4>Browse the Dataset in S3 with Quilt3 Catalog</h4><p>Once the package is created in S3, we can use quilt3 catalogto browse the raw data in S3. The catalog uses AWS credentials stored in your local Python environment so you can browse data in private buckets.</p><p>Browse to your bucket by entering the bucket name in the bucket field in the top-left corner of the page. Once in the bucket, browse contents by selecting the “BUCKET” tab. From there, you’ll see the raw data has been uploaded into a folder structure matching the package structure. Preview files by navigating to aionthebeach/reef-check/raw and selecting a file, e.g., urchins2006-2019.parquet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iGlbCZnndXxORzrY3hOrpQ.png" /></figure><h4>Explain the data so collaborators can understand it</h4><p>Data without explanation or context is notoriously hard to understand let alone use productively. The first step to document a new dataset is to add a README. We can add a README to our data package by writing a local file, say README.md in any markdown editor, and using Package.set to add it to our package. Once our package has the README, we can push the new revision to S3 with Package.push.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2e313faf9a464222af1eb7e92751c11/href">https://medium.com/media/f2e313faf9a464222af1eb7e92751c11/href</a></iframe><p>Now collaborators can easily find an overview of the dataset and background on the organization behind it. To view the new package version with the README, browse to the “PACKAGES” tab and select aionthebeach/reef-check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ol1uh9GH7Z_8ood-T8HnGQ.png" /></figure><h4>Invite collaborators to explore the data with interactive visualizations</h4><p>Visualization is a powerful way for us to explore the dataset and communicate our findings with one another. In this example, we use the Python package, Altair, to explore the population of different species of sea urchins over the years 2006 to 2019.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f331abacad81c2584b8822cf3350346/href">https://medium.com/media/3f331abacad81c2584b8822cf3350346/href</a></iframe><p>We can add this visualization to our Quilt package so it’s included in the package summary in the Quilt catalog. First, we save the chart as a Vega (JSON) file. We can add the JSON file to our package and add a reference to it in the quilt_summarize.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BhFvzS8CPiBsg8ijwm4FqQ.png" /></figure><p>Now the entire team can explore the data visually in addition to accessing the underlying raw data.</p><p>In this case, we can see that the warming of the oceans is creating more suitable environments for purple urchins further north in California with dire consequences for kelp forests, as discussed in this article: <a href="https://www.npr.org/2021/03/31/975800880/in-hotter-climate-zombie-urchins-are-winning-and-kelp-forests-are-losing">In Hotter Climate, ‘Zombie’ Urchins Are Winning And Kelp Forests Are Losing</a>.</p><h4>Conclusion</h4><p>The example above shows how a data team can manage a dataset in S3 with the open-sourcequilt3. Runningquilt3 catalog allows collaborators to explore data, documentation, and even interactive visualizations in the browser. Team members can contribute new revisions without fear of disrupting each other because the entire dataset is versioned. To try Quilt for yourself, check out the <a href="https://docs.quiltdata.com/">Quilt Documentation</a>. If you like what you see, please give it a star on <a href="https://github.com/quiltdata/quilt">GitHub</a>. Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ab1736686fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/package-data-and-visualizations-in-reusable-datasets-with-quilt-4-0-2ab1736686fc">Create and Browse Reusable Datasets in Your Private S3 Buckets with quilt3</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From zero to science without worrying about infrastructure]]></title>
            <link>https://medium.com/quilt/from-zero-to-science-without-worrying-about-infrastructure-c501ab6a7c80?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/c501ab6a7c80</guid>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[data-management]]></category>
            <category><![CDATA[life-sciences]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 19:01:38 GMT</pubDate>
            <atom:updated>2022-03-02T19:09:29.735Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FUXMNp8INNEU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUXMNp8INNEU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FUXMNp8INNEU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f92df5630eafb39e8d7a4ba97eb045a4/href">https://medium.com/media/f92df5630eafb39e8d7a4ba97eb045a4/href</a></iframe><p>In this webinar, we reveal how teams in healthcare and life sciences (HCLS) can build effective and <em>usable </em>data lakes, with Jim Davis from Amazon Web Services and Aaron Jeskey from <a href="https://ptp.cloud/">PTP</a>.</p><p>You can find PTP’s <em>Zero to Science Quilt Jumpstart Deployment</em> on <a href="https://aws.amazon.com/marketplace/pp/prodview-iyuk3v42su5si?sr=0-5&amp;ref_=beagle&amp;applicationId=AWSMPContessa">AWS Marketplace</a>.</p><h3>Key topics</h3><h4>How can biotechs get started quickly storing, analyzing, and reusing data?</h4><ul><li>Prebuilt solutions for biotechs to get started (e.g. Biotech Blueprint)</li><li>Quick start partner network with <a href="https://ptp.cloud/">PTP</a>, application vendors like <a href="https://quiltdata.com/aws">Quilt</a></li><li>Key imperatives for new HCLS customers in the AWS cloud</li><li>Transitioning from a university environment where infra is “done for you” to a corporate environment where you have to roll your own</li><li>Selecting the right AWS services</li><li>Core to science: getting data from the bench into Amazon S3, via <a href="https://aws.amazon.com/storagegateway/">AWS Storage Gateway</a></li><li>Finding the right software packages for the team (ELN, Data lake browsing)</li><li><a href="https://aws.amazon.com/controltower/">AWS Control Tower</a> for HIPAA, etc. compliance</li><li>Simple data management principles: blob storage, designing data for reuse and usability</li><li>It’s difficult to build the damn after the flood (data grows faster than headcount)</li><li>Enabling business users, non-developers, bench scientists to access S3 blob storage</li></ul><h4>Effective data management for life sciences teams</h4><ul><li>Breaking out of the tyranny of files and folders with cloud datasets (Quilt packages)</li><li>Improving data uniqueness, by eliminating data siloes and needless copies</li><li><a href="https://github.com/quiltdata/quilt">Open source dataset abstraction for integrating data, metadata, charts, documentation, lineage in an immutable container</a></li><li>Meeting growing sample and pipeline volumes</li><li>How to relate raw data, to analyzed data, to finalized or sealed data</li><li>Small teams mask big problems: data management feels easy until you start hiring more people</li><li>Raw Amazon S3, NAS, Box are not enough for effective data management and labeling</li><li>As teams grow, finding and reusing data becomes a major hurdle to IND velocity</li><li>The time to put data management practices in place is NOW, before data volumes and headcounts grow and get messy</li><li>Ensuring two-sided access to cloud datasets: API and GUI</li><li>Data culture harmonizes priorities with incentives, <em>data management is more than technology; it’s a human problem</em></li><li>If humans do the lazy thing, the data management layer should still work</li><li>Data <em>uniqueness</em> is required for trust: there should be <em>one</em> authoritative copy of the data that the team regards as true. Data versioning makes datasets authoritative in spite of copying</li></ul><h4>Syncing data to Amazon S3</h4><ul><li>Enable tools to work together by syncing all data into Amazon S3 with a <a href="https://quiltdata.com/">user-friendly interface to S3</a></li><li>Cross-functional teams should refer to the same datasets in Amazon S3</li><li>Gathering CRO data in S3</li><li>Triggering automated pipelines in S3</li><li>Syncing file shares to Amazon S3 via Amazon Storage Gateway</li><li>Integrating Egnyte with Quilt, S3</li><li>All data ultimately lands in S3 (from Egnyte, Box, etc.)</li><li>Once data are in S3, analysis becomes much easier, there are events, there is a data lifecycle</li><li>Separating data collection from curation</li><li>It is unsustainable to store your data in someone else’s cloud</li><li>In your private cloud, you have full control over your data</li><li>Synchronizing data in databases to S3: <a href="https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html">Glue Crawler</a>, linking to foreign data sources via unique IDs or query strings, generating database tables into Quilt for search and discovery</li><li>Streamlining the dataset creation UX</li></ul><p>Data management is more of a human challenge than it is a technical challenge. See Quilt’s <a href="https://quilt-web-public.s3.amazonaws.com/docs/Data+Platform+Survival+Guide.pdf">Data Platform Survival Guide</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mx238p2PBhn6A959EldL4Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c501ab6a7c80" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/from-zero-to-science-without-worrying-about-infrastructure-c501ab6a7c80">From zero to science without worrying about infrastructure</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recap — AWS re:Invent 2021]]></title>
            <link>https://medium.com/quilt/recap-aws-re-invent-2021-ac5bda066e84?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/ac5bda066e84</guid>
            <category><![CDATA[awsreinvent]]></category>
            <dc:creator><![CDATA[Kevin Moore]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 01:42:54 GMT</pubDate>
            <atom:updated>2021-12-11T01:42:54.535Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iigNGx8dommzpyjRhg2XQA.jpeg" /></figure><h3>Recap — AWS re:Invent 2021</h3><p>After nearly two years of way too much Zoom, it felt amazing to be back in Las Vegas for AWS re:Invent. Yes, traveling during the pandemic is more complicated, and yes, masks do change the feel of in-person interactions. But it was well worth it to be there in person and feel the kind of energy that can’t be streamed over the Internet.</p><p>AWS re:Invent is the most energizing and exhausting trade show I’ve ever attended — and the most challenging. It draws an incredible collection of people giving me the chance to meet customers, prospects, investors, and friends. Days start early and end late. The program blends excellent networking opportunities with detailed and hands-on technical sessions. Perhaps the biggest challenge is that it’s spread out over several hotels on the strip. This was my 3rd re:Invent, and I still don’t know if I’m doing it right.</p><h3>A More Compact re:Invent</h3><p>Compared to 2019 (re:Invent went virtual in 2020), the conference felt smaller and a lot more manageable. The venues were limited to three locations: the Venetian, Wynn, and Cesar’s Forum, all (healthy) walking distance from each other. Contrast that to 2019 when events were spread from the Wynn to the Aria and MGM Grand, 45 minutes away by shuttle. It’s hard to imagine Amazon limiting the conference size in the future, but the more compact layout was a big plus. I found I could plan to spend a few hours at a time at either the Venetian or Wynn and switch without losing too much of the day.</p><h3>The 10th re:Invent (and 15 years of AWS)</h3><p>Keynote speakers Adam Selipsky and Werner Vogels reminded us how much AWS has expanded and how much impact it has had over its 15 years. I first used AWS in 2013, and I’m amazed at how many new products and services have been created since then. It’s hard to imagine using AWS with only S3 and EC2, but those core services were enough to start the global transition to cloud computing and still form the backbone of the AWS platform. The scale of AWS is staggering — S3 is now home to over 100 trillion objects!</p><p>It’s hard to overstate the impact of AWS and cloud computing. Quilt Data is one of thousands of companies that simply would not exist if not for cloud computing. Applications are now being written for the cloud by default and only run in other environments in the increasingly rare circumstance when performance or regulatory considerations demand it.</p><p>This year’s product announcements seemed to aim to expand the reach of the cloud even further by reducing latency and offering more options for data residency. E.g., AWS announced a worldwide expansion to their local zones. The new <a href="https://aws.amazon.com/wavelength/">AWS Wavelength</a> provides computing resources at 5G access points to minimize latency for emerging 5G devices.</p><h3>Healthcare &amp; Life Sciences</h3><p>I spent a lot of my time meeting customers and prospects in the Healthcare and Life Sciences (HCLS) lounge in the Wynn. Large companies and startups alike are driving a revolution in life sciences and medicine fueled by the unprecedented availability of computing and storage resources in the cloud. Three talks that exemplified this trend were:</p><p><strong><em>Accelerating the drug discovery pipeline</em></strong><em>. </em>Roberto Iturralde from Vertex Pharmaceuticals, and Steve Litster from AWS, explained how pharmaceutical companies are now generating petabytes of high-resolution images and videos of protein structure through Cryo-electron microscopy. The process allows scientists to determine the structure of nearly any protein and requires much less preparation than previous techniques. That knowledge enables scientists to design new drug candidates faster and more accurately than ever before.</p><p><a href="https://virtual.reinvent.awsevents.com/session-virtual/?v2477da705118cc74fd14460db021e1784e2eed5a7982c6482ec95cb2e86d259644b8741959f52a49e0e6908b82a9d860=CDB7F83D43AEA1747BEBB3BBA06F8902DEB0C14F3D4E627EF9396753E086AFD4BCD23A42D086BCBE5838A8CFD8137681"><strong><em>Reinvent biomanufacturing to bring curative therapies to market at scale</em></strong></a><em>. </em>Elliot Menshick<em> </em>describes how Resilience is creating a new biofabrication business that promises to be the <a href="https://en.wikipedia.org/wiki/TSMC">TSMC</a> of therapeutics. That vision requires a data platform that is highly scalable and secure to ensure that the drugs that are going into our loved ones are manufactured correctly and to protect the valuable IP of the companies that create them.</p><p><a href="https://virtual.reinvent.awsevents.com/session-virtual/?v2477da705118cc74fd14460db021e1784e2eed5a7982c6482ec95cb2e86d259644b8741959f52a49e0e6908b82a9d860=2C635278EE92B4E3B7E3A9C5F9165AD7FA8B18CEFC22E6BA2C4E5F2694F086259875799865847DCB143EFEBC4EDAFB93"><strong>Delivering life-changing medicines at AstraZeneca with data and AI</strong></a> I had the opportunity to speak with Anna Asberg, VP of R&amp;D IT at Astra Zeneca, who spoke about her efforts to accelerate drug discovery by digitizing and modernizing scientists’ workflows leveraging AWS. Her priorities are similar to those of our biotech startup customers, including making data <a href="https://www.go-fair.org/fair-principles/">FAIR</a> (Findable, Accessible, Interoperable, and Reusable) and improving collaboration between bench scientists and data scientists. The Data Hub they built for their chemists shares many similarities to Quilt: managed services, open-source, microservices, and an ML model repository in S3. I’m looking forward to exploring how Quilt can work with companies at that scale in the new year.</p><h3>Summary</h3><p>It was a long six days of travel, hustle, good conversation, and happy connections with faces familiar and new and often masked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*8Phc5OXXN8kjGHqSr2QOBQ.jpeg" /></figure><p>For anyone planning ahead to next year, my not-so-pro tips are: (1) comfortable walking shoes; my phone said I averaged 15K steps per day, (2) plan, plan, plan; re:Invent is so big and so busy it’s hard to meet everyone you want to see or even catch the best talks without making a detailed plan and (3) disposable masks; I hope we don’t need masks next year and I strive for reusable over disposable, but cigar-smoke-filled casinos and reusable masks don’t mix.</p><p>The pandemic poses real risks to shows like AWS re:Invent, but it also makes them more relevant and impactful. In a single trip, I was able to meet dozens of customers, prospects, partners, investors, and friends. Those in-person interactions — conversations, lunches, dinners, parties — will bring us closer together in the months of Zoom calls that follow. As glad as I am to be home, I’m glad I went — in person— and I’m already getting excited for next year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ti51P9g4jIfrKMHCAaD0DA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac5bda066e84" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/recap-aws-re-invent-2021-ac5bda066e84">Recap — AWS re:Invent 2021</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bringing Scientific Data Management Systems Into the Cloud [VIDEO ]]]></title>
            <link>https://medium.com/quilt/bringing-scientific-data-management-systems-into-the-cloud-video-41be228a41b9?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/41be228a41b9</guid>
            <category><![CDATA[s3]]></category>
            <category><![CDATA[labels]]></category>
            <category><![CDATA[cloud-storage]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 19:41:10 GMT</pubDate>
            <atom:updated>2021-11-18T20:05:38.712Z</atom:updated>
            <content:encoded><![CDATA[<h3>Bringing Scientific Data Management Systems Into the Cloud</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fykmvxb_kTc4%3Flist%3DPLmXfD6KoA_vBtgGgt0X4ui4cRlEkdJKp9&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dykmvxb_kTc4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fykmvxb_kTc4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ffe68b026384f6833251c46d362bdbb1/href">https://medium.com/media/ffe68b026384f6833251c46d362bdbb1/href</a></iframe><blockquote><a href="https://www.vir.bio/about/#mission">Vir Biotechnology</a> is a commercial-stage immunology company focused on combining immunologic insights with cutting-edge technologies to treat and prevent serious infectious diseases.</blockquote><p>Alex Bangs, CIO at Vir Biotechnology, illuminates his journey to a cloud-native Scientific Data Management System (SDMS) to store, tag, manage, and integrate data generated by scientists and instruments.</p><blockquote>This will be so helpful to future Virites in 2031, to have links between ELN, data, and results—rather than having to try to piece the info together from whatever clues they’re able to find. —Vir Scientist</blockquote><p>Highlights from the talk include the following:</p><ul><li>A survey of products and technologies to consider in the SDMS space (and where Quilt fits in that landscape)</li><li>Ensuring that data are <a href="https://www.go-fair.org/fair-principles/">FAIR</a> company-wide— findable, accessible, interoperable, and reusable</li><li>Collections (Quilt packages) as a set of files with an immutable version history and compact URL that can be linked to ELNs like Benchling and IDBS</li><li>Tagging, labeling, documenting, and organizing datasets so that they can be queried longitudinally and used by data science teams for modeling and analysis</li><li>Strategies for data to be durable and FAIR for the next 10–20 years</li><li>Ensuring that data management systems are accessible and usable by scientists and non-developers</li><li>Keeping data in the cloud when local network bandwidth is limited (and moving compute to data)</li><li>Creating a shared and single source of truth (SSOT) in spite of varying skills and motivations on cross-functional teams of scientists, data scientists, IT, and leadership</li><li>Transitioning workflows to the cloud to leverage AWS services like Amazon S3</li><li>A three-phase <em>data lifecycle</em> that tracks data from its birth on instruments, to analysis, and finally to production</li><li>Move data from Amazon S3, to a local machine, and back to the cloud for running local applications like FlowJo</li><li>Store and tag large sets of files from Flow Cytometry, next gen sequencing, or any type of instrument data</li><li>Integrating data, metadata, and documentation into a single, reproducible package</li><li>Single sign-on with systems like Okta</li><li>Automatically sync’ing file servers and NASs with the cloud</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*snpi64Yr96IHPKBbWGfjbg.png" /><figcaption>Data lifecycle (in Amazon S3) from instrument to ELN</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADVHVpowO86XXQ90noStyw.png" /><figcaption>Cloud SDMS requirements</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41be228a41b9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/bringing-scientific-data-management-systems-into-the-cloud-video-41be228a41b9">Bringing Scientific Data Management Systems Into the Cloud [VIDEO ]</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interactive data dictionaries for business users — flatten dbt YAML into web tables with Quilt…]]></title>
            <link>https://medium.com/quilt/interactive-data-dictionaries-for-business-users-flatten-dbt-yaml-into-web-tables-with-quilt-dcc9bd8932f1?source=rss----472193aca216---4</link>
            <guid isPermaLink="false">https://medium.com/p/dcc9bd8932f1</guid>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Aneesh Karve]]></dc:creator>
            <pubDate>Fri, 12 Nov 2021 01:39:14 GMT</pubDate>
            <atom:updated>2021-11-12T01:39:14.108Z</atom:updated>
            <content:encoded><![CDATA[<h3>Interactive data dictionaries for business users — flatten dbt YAML into web tables with Quilt, Perspective, and Voila</h3><p>In this article we’ll parse dbt YAML into a pandas dataframe, then publish that dataframe as an interactive data grid on the web. Source code is available on GitHub and the data are available on open.quiltdata.com. Let’s get started.</p><p><em>Data dictionaries</em> are a form of data documentation that help readers to accurately interpret data. Column names and column values are common terms in data dictionaries. Dictionaries give data consumers hope that they can grasp the data before them without painstaking data archeology 😅.</p><h3>CommitStrip on Twitter: &quot;No documentationhttps://t.co/LMX0SB8j7i pic.twitter.com/6yvnPggAv5 / Twitter&quot;</h3><p>No documentationhttps://t.co/LMX0SB8j7i pic.twitter.com/6yvnPggAv5</p><p>A collaborator recently shared a dbt YAML file with column annotations in it, <a href="https://github.com/drernie/dbt_salesforce/blob/master/models/salesforce.yml">salesforce.yaml</a>. I dig YAML. It’s clear for developers, but it’s obscure for business users. In this article we’ll flatten a YAML object into a clean table that we can display as a data dictionary in HTML. Armed with a data dictionary, business users know the meaning of each column.</p><p>Our file contains several models, eache of which contains nested columns. Here’s the basic structure:</p><pre>models:<br>  - name: MODEL_NAME<br>    description: MODEL_DESCRIPTION<br>  columns:<br>    - name: COLUMN_NAME<br>      description: COL_DESCRIPTION<br>      tests: COL_TESTS</pre><h3>Parse YAML into a Python dict</h3><p>Let’s load salesforce.yaml into a dict.</p><pre>with open(&quot;salesforce.yaml&quot;, &quot;r&quot;) as f:<br>    salesforce = yaml.safe_load(f)</pre><p>Our data dictionary is in there, but it’s acting all shy and nested 🥺.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c-IiH7z_B-YuGBwf07zx2w.png" /><figcaption>salesforce.yaml as a Python dict</figcaption></figure><p>The nesting occurs like so:</p><pre>models:<br>  - name: MODEL_NAME<br>    description: MODEL_DESCRIPTION<br>  columns:<br>    - name: COLUMN_NAME<br>      description: COL_DESCRIPTION<br>      tests: COL_TESTS</pre><p>Enumerating the model names with [m[&quot;name&quot;] for m in salesforce[“models”]], we encounter five models:</p><pre>[&#39;salesforce__manager_performance&#39;,<br> &#39;salesforce__owner_performance&#39;,<br> &#39;salesforce__opportunity_enhanced&#39;,<br> &#39;salesforce__sales_snapshot&#39;,<br> &#39;salesforce__order_enhanced&#39;]</pre><h3>Normalize or flatten dict to dataframe</h3><p>We want to flatten the nested column descriptions into a table. Enter pandas.json_normalize.</p><pre>pd.json_normalize(<br>    salesforce,<br>    record_path=[&quot;models&quot;, &quot;columns&quot;]<br>)</pre><p>(The record_path= kwarg tells pandas how deeply you want to normalize the data. In this case, we are after a table of columns, which are nested under models, so our path is [&quot;models&quot;, &quot;columns&quot;].)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bx7C-kHA4RQQqjzhMDqD5g.png" /><figcaption>Normalized dataframe from a dictionary with pandas.json_normalize</figcaption></figure><p><em>But we’ve lost the name of the parent model</em>. This confuses columns with the same name but different descriptions across models. That’s where the meta= kwarg comes in:</p><pre>pd.json_normalize(<br>    salesforce,<br>    record_path=[&quot;models&quot;, &quot;columns&quot;],<br>    record_prefix=&quot;models.columns.&quot;,<br>    meta=[[&quot;models&quot;, &quot;name&quot;]]<br>).drop(columns=&quot;models.columns.tests&quot;)</pre><p>Boom. We’ve cleaned things up a tad more by preserving the namespace of the keys and dropping the “tests” column because that’s TMI (too much information) for our dictionary users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZzR4yvLBgh8IH872zTqleg.png" /><figcaption>Data dictionary as a pandas dataframe</figcaption></figure><h3>Publish our data dictionary to the web with Quilt catalog</h3><p>We’ve massaged our data into tabular form and made it interactive. Now we need to publish it to the web. Quilt catalog makes this easy.</p><p>First, we need to create a quilt_summarize.json file that tells the Quilt catalog to run a Voila kernel for our dashboard notebook:</p><pre>[<br>  {<br>    &quot;title&quot;: &quot;Data dictionary&quot;,<br>    &quot;path&quot;: &quot;dataDictionary.ipynb&quot;,<br>    &quot;types&quot;: [&quot;voila&quot;]<br>  }<br>]</pre><p>Now, we can push the data to S3. (You’ll need to <a href="https://docs.quiltdata.com/quickstart">set up </a><a href="https://docs.quiltdata.com/quickstart">quilt3</a>.)</p><pre>quilt3 push \<br>    examples/interactive-data-dictionary \<br>    --dir . \<br>    --registry s3://quilt-example \<br>    --message &quot;initial data dictionary&quot;</pre><p>If you’re running the Quilt catalog, you’ll see the following dashboard (or click the following link for a <a href="https://open.quiltdata.com/b/quilt-example/packages/examples/interactive-data-dictionary">live data dictionary example</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JwG-nz5hD6n3L7MJJaSsVA.png" /><figcaption>Data dictionary as an interactive PerspectiveWidget in the Quilt catalog</figcaption></figure><p>Perspective is cool. Suppose each column has a data quality score (I injected some random scores). We can visualize data quality per model as an X/Y Scatter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6OwW3QgbDR_jwm2vxNdGQ.png" /><figcaption>Salesforce model data quality scores in a PerspectiveWidget in the Quilt catalog</figcaption></figure><h3>Code samples</h3><p>Visit <a href="https://github.com/quiltdata/examples/tree/master/interactive_data_dictionary">quiltdata/examples/interactive_data_dictionary</a> for the full Jupyter notebooks behind this article.</p><h3>What’s next?</h3><p>I’ll be doing a whole series on visualizing data quality. Stay tuned. I welcome questions in the comments.</p><h3>Thanks</h3><p>Special thanks to <a href="https://mobile.twitter.com/DrErnie">@DrErnie</a> for bringing the Salesforce model data to my attention.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcc9bd8932f1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/quilt/interactive-data-dictionaries-for-business-users-flatten-dbt-yaml-into-web-tables-with-quilt-dcc9bd8932f1">Interactive data dictionaries for business users — flatten dbt YAML into web tables with Quilt…</a> was originally published in <a href="https://medium.com/quilt">Quilt</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>