Commit eb909e81 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

tutorial: clonotypes (at some places)

We now keep 'clones' all along the tutorial, except when describing elements of the interface.
parent abc32f63
Pipeline #294970 failed with stages
in 27 minutes and 52 seconds
......@@ -30,14 +30,14 @@ is \texttt{IGHV3-9 7/CCCGGA/17 J6*02}.
assert ( cinfo[:name].text == "IGHV3-9 7/CCCGGA/17 J6*02"), "correct name for first clone"
stats = $b.statsline
assert (stats.text.include? '1 clone, 189 991 reads (9.665%)'), "Correct stats, number of reads and percentage"
assert (stats.text.include? '1 clonotype, 189 991 reads (9.665%)'), "Correct stats, number of reads and percentage"
end
\end{verbatim}
There are several options to display the V(D)J designation.
\question{In the \com{settings} menu, under \com{N regions in clone names} select \com{length} to show N zones by their length. Revert to the
\question{In the \com{settings} menu, under \com{N regions in clonotype names} select \com{length} to show N zones by their length. Revert to the
default \com{sequence (when short)} setting to show the full N on short sequences.}
\begin{verbatim}
......@@ -68,12 +68,12 @@ There are several options to display the V(D)J designation.
# Reset params as nucleotide number
$b.menu_settings.click
$b.input(:id => "menuCloneNot_nucleotide_number").click
$b.input(:id => "menuClonotypeNot_nucleotide_number").click
$b.update_icon.wait_while(&:present?) # wait update
end
\end{verbatim}
\question{Try also the options \com{alleles in clone names} : by selecting \com{always}, the clone
\question{Try also the options \com{alleles in clonotype names} : by selecting \com{always}, the clone
V gene is displayed as \com{IGHV3-9*01}. Revert to the default \com{when not
*01}. This setting, which is the default, allows to have a more condensed
V(D)J designation that doesn't make the \com{*01} appear (it is implicit).}
......@@ -110,11 +110,11 @@ depending if the top 50 are always the same or always different or, more
realistically, in-between.
This number can be increased to a maximum of 100 clones by going to the \com{filter} menu and by putting the
slider to its right end.
\question{Notice how the IGH smaller clones percentage (second clone displayed in the list) changes. What was its
\question{Notice how the IGH smaller clonotypes percentage (second clone displayed in the list) changes. What was its
initial value? What is it now?}
\reponse{filter set to 50 \fl IGH smaller clones 10.11\,\%\\*
filter set to 100 \fl IGH smaller clones 8.92\,\%\\*}
\reponse{filter set to 50 \fl IGH smaller clonotypes 10.11\,\%\\*
filter set to 100 \fl IGH smaller clonotypes 8.92\,\%\\*}
\begin{verbatim}
def test_B_clones_04_filter_slider
if not ENV['HEADLESS']
......@@ -153,7 +153,7 @@ slider to its right end.
end
\end{verbatim}
The \textit{smaller clones} correspond to clones that are not displayed
The \textit{smaller clonotypes} correspond to clones that are not displayed
because they are never among the most abundant ones.
......@@ -763,8 +763,13 @@ In the bar plot mode, pass the mouse over the bars: What happens?}
$b.send_keys 3
$b.update_icon.wait_while(&:present?)
<<<<<<< HEAD
assert ( $b.scatterplot_x_label.text == "Read length" ), "Correct legend for axe X for preset 3"
assert ( $b.scatterplot_y_label.text == "Locus" ), "Correct legend for axe Y for preset 3"
=======
assert ( $b.scatterplot_x_label.text == "clonotype average read length" ), "Correct legend for axe X for preset 3"
assert ( $b.scatterplot_y_label.text == "locus" ), "Correct legend for axe Y for preset 3"
>>>>>>> a79b412c8 (tutorial: clonotypes (at some places))
#assert ( $b.scatterplot_x_legend(0).text == "20"), "scatterplot_legend X with shortcut/preset XXX is: IGHV1-2"
#assert ( $b.scatterplot_y_legend(0).text == "IGH"), "scatterplot_legend Y with shortcut/preset XXX is: IGHJ-1"
......@@ -864,8 +869,8 @@ be similar.
end
\end{verbatim}
\question{ Instead of coloring by clone's size, you could also color by
\com{clone}. When coloring by \com{clone}, each clone has a random color. Thus in
\question{ Instead of coloring by clone size, you could also color by
\com{clonotype}. When coloring by \com{clonotype}, each clone has a random color. Thus in
a bar plot, it is a convenient color mode to see the peaks that are due to a
single clone or to several clones.
However clones may be very similar. Another option is to color by
......@@ -875,7 +880,7 @@ be similar.
\begin{verbatim}
def test_B_clones_32_color_by_clone
select_color = $b.select_list(:id => "color_menu_select")
select_color.select("Clone")
select_color.select("Clonotype")
$b.update_icon.wait_while(&:present?)
$b.clone_in_list("0").click
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment