@@ -38,7 +38,7 @@ their counts.
3838
3939Load this example up with ` countess_gui example_1.ini ` .
4040
41- [ ![ Example 1 Image 0] ( ../../../ countess-demo/example_1/img/example_1_0.png)] ( ../../.. /countess-demo/example_1/img/example_1_0.png)
41+ [ ![ Example 1 Image 0] ( / countess-demo/example_1/img/example_1_0.png)] ( /countess-demo/example_1/img/example_1_0.png )
4242
4343There are five nodes in this CountESS pipeline, each of which
4444transforms the data and then passes it to the next node.
@@ -65,7 +65,7 @@ GTAACAGGAGTCATGTTTCC,1
6565
6666Our first step just reads these two files in.
6767
68- [ ![ Example 1 Image 1] ( ../../../ countess-demo/example_1/img/example_1_1.png)] ( ../../.. /countess-demo/example_1/img/example_1_1.png)
68+ [ ![ Example 1 Image 1] ( / countess-demo/example_1/img/example_1_1.png)] ( /countess-demo/example_1/img/example_1_1.png )
6969
7070* Sequence data can also be loaded from other file formats such
7171 as FASTQ, see [ Example 3] ( #example-3-fastq-and-vamp-seq )
@@ -79,7 +79,7 @@ We now have a dataframe with all our raw sequences in it.
7979Next we want to count how many times each sequence appears at each
8080time point.
8181
82- [ ![ Example 1 Image 2] ( ../../../ countess-demo/example_1/img/example_1_2.png)] ( ../../.. /countess-demo/example_1/img/example_1_2.png)
82+ [ ![ Example 1 Image 2] ( / countess-demo/example_1/img/example_1_2.png)] ( /countess-demo/example_1/img/example_1_2.png )
8383
8484The [ Group By] ( ../included-plugins/#group-by ) tool lets us specify some columns to index by.
8585If no other operations are selected, it will count the number of
@@ -98,7 +98,7 @@ but we want to compare counts for each sequence across the time points.
9898
9999To do this, we use the [ Pivot Tool] ( ../included-plugins/#pivot-tool ) :
100100
101- [ ![ Example 1 Image 3] ( ../../../ countess-demo/example_1/img/example_1_3.png)] ( ../../.. /countess-demo/example_1/img/example_1_3.png)
101+ [ ![ Example 1 Image 3] ( / countess-demo/example_1/img/example_1_3.png)] ( /countess-demo/example_1/img/example_1_3.png )
102102
103103The distinct values of the "Pivot" column(s) are used to expand the
104104data in the "Expand" column(s) into new columns.
@@ -116,7 +116,7 @@ Now we have pivoted the data, for each sequence we have counts at
116116two different time points. We want to calculate scores from the counts
117117by dividing one by the other:
118118
119- [ ![ Example 1 Image 4] ( ../../../ countess-demo/example_1/img/example_1_4.png)] ( ../../.. /countess-demo/example_1/img/example_1_4.png)
119+ [ ![ Example 1 Image 4] ( / countess-demo/example_1/img/example_1_4.png)] ( /countess-demo/example_1/img/example_1_4.png )
120120
121121The [ Python Code] ( ../included-plugins/#python ) tool lets us write small expressions in Python and
122122apply them to each row of the table. In this case we're calculating
@@ -129,7 +129,7 @@ Now we have a score for each sequence, we need to write our data
129129out somewhere. The [ CSV Save] ( ../included-plugins/#csv-writer )
130130tool lets us save our output in a CSV file for easy use elsewhere.
131131
132- [ ![ Example 1 Image 5] ( ../../../ countess-demo/example_1/img/example_1_5.png)] ( ../../.. /countess-demo/example_1/img/example_1_5.png)
132+ [ ![ Example 1 Image 5] ( / countess-demo/example_1/img/example_1_5.png)] ( /countess-demo/example_1/img/example_1_5.png )
133133
134134The output ends up looking like:
135135
@@ -178,19 +178,19 @@ map to unmodified sequences.
178178First, we modify our sequence reading and grouping steps to rename the sequence column to ` barcode ` ,
179179for clarity.
180180
181- [ ![ Example 2 Image 1] ( ../../../ countess-demo/example_2/img/example_2_1.png)] ( ../../.. /countess-demo/example_2/img/example_2_1.png)
182- [ ![ Example 2 Image 2] ( ../../../ countess-demo/example_2/img/example_2_2.png)] ( ../../.. /countess-demo/example_2/img/example_2_2.png)
181+ [ ![ Example 2 Image 1] ( / countess-demo/example_2/img/example_2_1.png)] ( /countess-demo/example_2/img/example_2_1.png )
182+ [ ![ Example 2 Image 2] ( / countess-demo/example_2/img/example_2_2.png)] ( /countess-demo/example_2/img/example_2_2.png )
183183
184184Second, we add a new node to read the barcode map using the
185185[ CSV Loader] ( ../included-plugins/#csv-reader ) :
186186
187- [ ![ Example 2 Image 3] ( ../../../ countess-demo/example_2/img/example_2_3.png)] ( ../../.. /countess-demo/example_2/img/example_2_3.png)
187+ [ ![ Example 2 Image 3] ( / countess-demo/example_2/img/example_2_3.png)] ( /countess-demo/example_2/img/example_2_3.png )
188188
189189### Joining
190190
191191Now we add in a [ Join] ( ../included-plugins/#join ) tool, which takes two inputs and joins them.
192192
193- [ ![ Example 2 Image 4] ( ../../../ countess-demo/example_2/img/example_2_4.png)] ( ../../.. /countess-demo/example_2/img/example_2_4.png)
193+ [ ![ Example 2 Image 4] ( / countess-demo/example_2/img/example_2_4.png)] ( /countess-demo/example_2/img/example_2_4.png )
194194
195195* Note that while there were 1000 distinct barcodes, there are only 357 distinct
196196 sequences. Some barcodes represent duplicate variants.
@@ -204,7 +204,7 @@ to be able to process these in a more compact format. The [Variant Translator](
204204plugin lets us compare a sequence to a reference sequence and extract
205205DNA and Protein variants in [ HGVS] ( https://hgvs-nomenclature.org/stable/ ) format.
206206
207- [ ![ Example 2 Image 5] ( ../../../ countess-demo/example_2/img/example_2_5.png)] ( ../../.. /countess-demo/example_2/img/example_2_5.png)
207+ [ ![ Example 2 Image 5] ( / countess-demo/example_2/img/example_2_5.png)] ( /countess-demo/example_2/img/example_2_5.png )
208208
209209We add a Variant Translator to our project, and configure it with
210210our known reference sequence:
@@ -224,13 +224,13 @@ CountESS nodes can have multiple outputs. From here, we perform the same
224224pivot, score and write to CSV steps as before, but duplicated for both DNA and Protein variants.
225225
226226<!--
227- [](../../.. /countess-demo/example_2/img/example_2_6.png)
228- [](../../.. /countess-demo/example_2/img/example_2_9.png)
229- [](../../.. /countess-demo/example_2/img/example_2_7.png)
230- [](../../.. /countess-demo/example_2/img/example_2_10.png)
227+ [](/countess-demo/example_2/img/example_2_6.png)
228+ [](/countess-demo/example_2/img/example_2_9.png)
229+ [](/countess-demo/example_2/img/example_2_7.png)
230+ [](/countess-demo/example_2/img/example_2_10.png)
231231-->
232- [ ![ Example 2 Image 8] ( ../../../ countess-demo/example_2/img/example_2_8.png)] ( ../../.. /countess-demo/example_2/img/example_2_8.png)
233- [ ![ Example 2 Image 11] ( ../../../ countess-demo/example_2/img/example_2_11.png)] ( ../../.. /countess-demo/example_2/img/example_2_11.png)
232+ [ ![ Example 2 Image 8] ( / countess-demo/example_2/img/example_2_8.png)] ( /countess-demo/example_2/img/example_2_8.png )
233+ [ ![ Example 2 Image 11] ( / countess-demo/example_2/img/example_2_11.png)] ( /countess-demo/example_2/img/example_2_11.png )
234234
235235## Example 3: FASTQ
236236
@@ -248,32 +248,32 @@ filename. We can select the "Filename Column?" option
248248in the FASTQ Loader which will add an extra ` filename ` column in to the
249249dataframe:
250250
251- [ ![ Example 3 Image 1] ( ../../../ countess-demo/example_3/img/example_3_1.png)] ( ../../.. /countess-demo/example_3/img/example_3_1.png)
251+ [ ![ Example 3 Image 1] ( / countess-demo/example_3/img/example_3_1.png)] ( /countess-demo/example_3/img/example_3_1.png )
252252
253253We can then use the [ Regex Tool] ( ../included-plugins/#regex-tool ) to break this filename down into its
254254useful parts, extracting ` bin ` and ` rep ` columns from the filename:
255255
256- [ ![ Example 3 Image 2] ( ../../../ countess-demo/example_3/img/example_3_2.png)] ( ../../.. /countess-demo/example_3/img/example_3_2.png)
256+ [ ![ Example 3 Image 2] ( / countess-demo/example_3/img/example_3_2.png)] ( /countess-demo/example_3/img/example_3_2.png )
257257
258258<!--
259- [](../../.. /countess-demo/example_3/img/example_3_3.png)
259+ [](/countess-demo/example_3/img/example_3_3.png)
260260-->
261261
262262In the previous example, we chose to insert the [ Variant Translator] ( ../included-plugins/#variant-translator )
263263after the [ Join] ( ../included-plugins/#join ) for clarity, but when
264264we have many more sequences to call it is more efficient to call the variant
265265once for each barcode rather than once for each sequence:
266266
267- [ ![ Example 3 Image 4] ( ../../../ countess-demo/example_3/img/example_3_4.png)] ( ../../.. /countess-demo/example_3/img/example_3_4.png)
267+ [ ![ Example 3 Image 4] ( / countess-demo/example_3/img/example_3_4.png)] ( /countess-demo/example_3/img/example_3_4.png )
268268
269269<!--
270- [](../../.. /countess-demo/example_3/img/example_3_5.png)
270+ [](/countess-demo/example_3/img/example_3_5.png)
271271-->
272272
273273The two data sources are joined as before. We can then [ pivot] ( ../included-plugins/#pivot-tool )
274274on ` bin ` , giving us columns ` count__bin_1 ` , ` count__bin_2 ` , ` count__bin_3 ` and ` count__bin_4 ` :
275275
276- [ ![ Example 3 Image 6] ( ../../../ countess-demo/example_3/img/example_3_6.png)] ( ../../.. /countess-demo/example_3/img/example_3_6.png)
276+ [ ![ Example 3 Image 6] ( / countess-demo/example_3/img/example_3_6.png)] ( /countess-demo/example_3/img/example_3_6.png )
277277
278278## Example 4: External Metadata
279279
@@ -303,17 +303,17 @@ data12377 2 2.7
303303First we load up the metadata file, splitting the columns using
304304"TAB" characters:
305305
306- [ ![ Example 4 Image 1] ( ../../../ countess-demo/example_4/img/example_4_1.png)] ( ../../.. /countess-demo/example_4/img/example_4_1.png)
306+ [ ![ Example 4 Image 1] ( / countess-demo/example_4/img/example_4_1.png)] ( /countess-demo/example_4/img/example_4_1.png )
307307
308308Then we load up the six data files, remembering to select the
309309"Filename Column?" option to get the filename as a column:
310310
311- [ ![ Example 4 Image 2] ( ../../../ countess-demo/example_4/img/example_4_2.png)] ( ../../.. /countess-demo/example_4/img/example_4_2.png)
311+ [ ![ Example 4 Image 2] ( / countess-demo/example_4/img/example_4_2.png)] ( /countess-demo/example_4/img/example_4_2.png )
312312
313313Then we can join the two together using the ` filename ` column
314314in each:
315315
316- [ ![ Example 4 Image 3] ( ../../../ countess-demo/example_4/img/example_4_3.png)] ( ../../.. /countess-demo/example_4/img/example_4_3.png)
316+ [ ![ Example 4 Image 3] ( / countess-demo/example_4/img/example_4_3.png)] ( /countess-demo/example_4/img/example_4_3.png )
317317
318318# Further Examples
319319
0 commit comments