# Narrative making

**URL:** <https://nextstrain.discourse.group/t/narrative-making/911>\
**Category:** Help and Getting Started\
**Created:** [December 22, 2021, 7:08am UTC](https://nextstrain.discourse.group/t/narrative-making/911 "2021-12-22T07:08:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![avrajit](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@avrajit](https://nextstrain.discourse.group/u/avrajit)\
**Post date:** [December 22, 2021, 7:08am UTC](https://nextstrain.discourse.group/t/narrative-making/911/1 "2021-12-22T07:08:44Z")

</div>

I did Covid analysis by following the nextstrain tutorial and successfully created auspice based visualization “Result.json” file. I can open and check the same in my localhost.

I want to make narrative as described in tutorial but not understand properly.

I make a “narrative.md” file which look like this

* * *

> title:Covid Analysis  
> author: “ME”  
> Year:“2021”  
> dataset:“[http://localhost:4000/Covid?d=tree](http://localhost:4000/Covid?d=tree)”  
> abstract:“This is Covid Ananlysis Result”

* * *

then I ran  
auspice view --datasetDir dataset/ --narrativeDir narratives/  
the error is “Failed to read Covid\_root-sequnec.json”  
what I am missing?  
however  
auspice view --datasetDir dataset/

running perfect on my localhot

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [January 3, 2022, 12:38am UTC](https://nextstrain.discourse.group/t/narrative-making/911/2 "2022-01-03T00:38:43Z")

</div>

Hi @avrajit - thanks for reaching out, I think we can solve this with a few more details from you.

- What is currently happening when you load your narrative? If you have this stored at `narratives/narrative.md` then you should be able to load [http://localhost/narrative](http://localhost/narrative). Could you post any console errors / terminal messages to help us here?
- The message of “Failed to read Covid\_root-sequence.json” is inconsequential in this situation.
- What dataset do you wish to visualise? You indicate you’re dataset is `dataset/Result.json` but the URL in your narrative (`http://localhost:4000/Covid`) will be using `dataset/Covid.json`.
- In your `narrative.md` you’ll need at least a paragraph of content (currently you only have the frontmatter). Here’s an example:

```auto
---
title:Covid Analysis
author: “ME”
Year:“2021”
dataset:“http://localhost:4000/Covid?d=tree”
abstract:“This is Covid Analysis Result”
---

# [Slide 1](http://localhost:4000/Covid?d=tree)

Slide 1 text

```

---

<div class="post-metadata">

**Author:** ![avrajit](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@avrajit](https://nextstrain.discourse.group/u/avrajit)\
**Post date:** [January 17, 2022, 4:43am UTC](https://nextstrain.discourse.group/t/narrative-making/911/3 "2022-01-17T04:43:28Z")

</div>

Hi James,  
Thanks for your response. here is my terminal output

```auto
(nextstrain) @desktop:~/Project_Details/Mycovid/Covid_result_Nextstrain$ auspice view --datasetDir auspice/ --narrativeDir narratives/

---------------------------------------------------
Auspice server now running at http://localhost:4000
Serving auspice version 2.29.1
Looking for datasets in /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/auspice
Looking for narratives in /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives
---------------------------------------------------

GET AVAILABLE returning locally available datasets & narratives
trying to access & parse local narrative file: /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives/covidNarrative.md
GET AVAILABLE returning locally available datasets & narratives
GET DATASET query received: prefix=/Covid
GET AVAILABLE returning locally available datasets & narratives
GET DATASET query received: prefix=/Covid&type=root-sequence
[warning]	Failed to read /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/auspice/Covid_root-sequence.json
trying to access & parse local narrative file: /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives/covidNarrative.md
GET AVAILABLE returning locally available datasets & narratives
trying to access & parse local narrative file: /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives/covidNarrative.md
GET AVAILABLE returning locally available datasets & narratives
trying to access & parse local narrative file: /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives/covidNarrative.md
GET AVAILABLE returning locally available datasets & narratives
trying to access & parse local narrative file: /home/avc/Project_Details/Mycovid/Covid_result_Nextstrain/narratives/covidNarrative.md
GET AVAILABLE returning locally available datasets & narrative

```

I understand your point. But I am following this tutorial [Writing a Narrative — Nextstrain documentation](https://docs.nextstrain.org/en/latest/tutorials/narratives-how-to-write.html)

which is instructing add the local host address where your auspice result is running.

Is there any tutorial how to make narrative for nextstrain auspice result? please share

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [January 17, 2022, 5:00am UTC](https://nextstrain.discourse.group/t/narrative-making/911/4 "2022-01-17T05:00:26Z")

</div>

It looks like you’ve written a narrative `narratives/covidNarrative.md` – what happens when you load that narrative in your locally running auspice? I’m not sure what is not working from your messages. The tutorial you linked to is the best example to follow currently.

---

<div class="post-metadata">

**Author:** ![avrajit](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@avrajit](https://nextstrain.discourse.group/u/avrajit)\
**Post date:** [January 21, 2022, 10:52am UTC](https://nextstrain.discourse.group/t/narrative-making/911/5 "2022-01-21T10:52:14Z")

</div>

in my terminal

the error is

verbose] Error: ENOENT: no such file or directory, open ‘/home/avc/Covid\_result\_Nextstrain/auspice/Covid\_root-sequence.json’

What this mean? what is root-sequence.json?

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [January 23, 2022, 9:59pm UTC](https://nextstrain.discourse.group/t/narrative-making/911/6 "2022-01-23T21:59:20Z")

</div>

It’s an optional sidecar file containing the root sequence, [here’s how you can create it](https://docs.nextstrain.org/projects/augur/en/latest/releases/migrating-v5-v6.html#different-outputs). It’s optional and shouldn’t matter for your narrative unless you want to colour the tree on a sequence position without any mutations (i.e. all sequences share the same base).

---

<div class="post-metadata">

**Author:** ![avrajit](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@avrajit](https://nextstrain.discourse.group/u/avrajit)\
**Post date:** [January 24, 2022, 12:12pm UTC](https://nextstrain.discourse.group/t/narrative-making/911/7 "2022-01-24T12:12:29Z")

</div>

Thanks for explanation. Is there any way I can share my auspice file with you. Is that possible?

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [January 24, 2022, 8:12pm UTC](https://nextstrain.discourse.group/t/narrative-making/911/8 "2022-01-24T20:12:29Z")

</div>

Sure thing - the easiest is probably [through nextstrain community sharing](https://docs.nextstrain.org/en/latest/guides/share/community-builds.html). We would be happy to add it to [nextstrain.org/sars-cov-2](http://nextstrain.org/sars-cov-2) as well, if you’d like.
