Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Apr 12, 2024
1 parent 2cf59f1 commit 4b30509
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ In this case, we're expanding the column `count` into two new columns,
### 4. Calculating Scores

Now we have pivoted the data, for each sequence we have counts at
two different time points. We want calculate scores from the counts.
one by the other:
two different time points. We want to calculate scores from the counts
by dividing one by the other:

[![Example 1 Image 4](img/example_1_4.png)](img/example_1_4.png)

The [Python Code](../included-plugins/#python) tool lets us write small expressions in Python and
apply them to each row of the table. In this case we're calculating
score as the fraction of sequences which have survived from time 1
a simplified score as the fraction of sequences which have survived from time 1
to time 2.

### 5. Saving Results
Expand Down Expand Up @@ -166,6 +166,11 @@ TGTAGTGCCGTATTTGTGGC,ATGCTTTGTACGGGTGGTGCCCTGGCTTATCTATCTAGATCCGTCTCCGAGTCACGGTC
```
*(etc)*

The first three barcode map to the same sequence,
the other two have SNVs but they are hard to spot!
There are 1000 barcodes in the file, about 1/4 of which
map to unmodified sequences.

First, we modify our sequence reading and grouping steps to rename the sequence column to `barcode`,
for clarity.

Expand Down

0 comments on commit 4b30509

Please sign in to comment.