You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**STRprofiler** is a simple python utility to compare short tandem repeat (STR) profiles. In particular, it is designed to aid research labs in comparing models (e.g. cell lines & xenografts) generated from primary tissue samples to ensure contamination has not occurred. It includes basic checks for sample mixing and contamination.
11
+
**STRprofiler** is a python package, CLI tool, and Shiny application to compare short tandem repeat (STR) profiles. In particular, it is designed to aid research labs in comparing models (e.g. cell lines & xenografts) generated from primary tissue samples to ensure contamination has not occurred. It includes basic checks for sample mixing and contamination and provides a simple interface to conveniently query the [Cellosaurus database via the CLASTR API](https://www.cellosaurus.org/str-search/).
12
12
13
13
**STRprofiler is intended only for research purposes.**
14
14
@@ -49,24 +49,77 @@ Full usage information can be found by running `strprofiler --help`.
Additionally, the [Cellosaurus](https://www.cellosaurus.org/description.html) (Bairoch, 2018) cell line database can be queried via the [CLASTR](https://www.cellosaurus.org/str-search/) (Robin, Capes-Davis, and Bairoch, 2019) [REST API](https://www.cellosaurus.org/str-search/help.html#5).
Output for`clastr` is providedin XLSX format. Results follow the CLASTR format, documented here: https://www.cellosaurus.org/str-search/help.html#4
208
+
152
209
## Database Comparison
153
210
154
211
**STRprofiler** can be also used to compare batches of samples against a larger database of samples.
@@ -163,7 +220,7 @@ New in v0.2.0 is `strprofiler-app`, a command that launches a Shiny application
163
220
164
221
This application can provide a convenient portal to a group's STR database and can be hosted on standard Shiny servers, Posit Connect instances, or ShinyApps.io.
165
222
166
-
An example of the application can be seen [here](https://hg99x7-jared0andrews.shinyapps.io/strprofiler/).
223
+
An example of the application can be seen [here](https:sj-bakerlab.shinyapps.io/strprofiler/).
167
224
168
225
### Deploying an `strprofiler` App
169
226
@@ -202,8 +259,14 @@ You can contribute by creating [issues](https://github.com/j-andrews7/strprofile
202
259
203
260
**STRprofiler** is released on the MIT license. You are free to use, modify, or redistribute it in almost any way, provided you state changes to the code, disclose the source, and use the same license. It is released with zero warranty for any purpose and the authors retain no liability for its use. [Read the full license](https://github.com/j-andrews7/strprofiler/blob/master/LICENSE) for additional details.
204
261
205
-
## Reference
262
+
## References
263
+
264
+
If you use **STRprofiler** in your research, please cite the DOI:
265
+
266
+
Jared Andrews, Mike Lloyd, & Sam Culley. (2024). j-andrews7/strprofiler: v0.3.0 (v0.3.0). Zenodo. https://doi.org/10.5281/zenodo.7348386
267
+
268
+
If you use the `clastr` command or functionality from the Shiny application, please cite the Cellosaurus and CLASTR publications:
206
269
207
-
If you use **strprofiler** in your research, please cite the DOI:
270
+
Bairoch A. (2018) The Cellosaurus, a cell line knowledge resource. Journal of Biomolecular Techniques. 29:25-38. DOI: 10.7171/jbt.18-2902-002; PMID: 29805321
208
271
209
-
Jared Andrews, Mike Lloyd, & Sam Culley. (2024). j-andrews7/strprofiler: v0.2.0 (v0.2.0). Zenodo. https://doi.org/10.5281/zenodo.7348386
272
+
Robin, T., Capes-Davis, A. & Bairoch, A. (2019) CLASTR: the Cellosaurus STR Similarity Search Tool - A Precious Help for Cell Line Authentication. International Journal of Cancer. PubMed: 31444973 DOI: 10.1002/IJC.32639
**STRprofiler** can also be used to directly query CLASTR via their API.
61
+
This can be done from within the Shiny application or from the command line via the ``clastr`` command or using the ``clastr_query`` function directly:
62
+
63
+
.. autofunction:: strprofiler.clastr.clastr_query
64
+
57
65
Input Files(s)
58
66
~~~~~~~~~~~~~~
59
67
60
-
**STRprofiler** can take either a single STR file or multiple STR files as input. These files can be csv, tsv, tab-separated text, or xlsx (first sheet used) files. The STR file(s) should be in either 'wide' or 'long' format. The long format expects all columns to map to the markers except for the designated sample name column with each row reflecting a different profile, e.g.:
68
+
**STRprofiler** can take either a single STR file or multiple STR files as input.
69
+
These files can be csv, tsv, tab-separated text, or xlsx (first sheet used) files. The STR file(s) should be in either 'wide' or 'long' format. The long format expects all columns to map to the markers except for the designated sample name column with each row reflecting a different profile, e.g.:
In this format, the `marker_col` must be specified. Only columns beginning with "Allele" will be used to parse the alleles for each sample/marker. Any other size or height columns will be ignored.
151
+
In this format, the ``marker_col`` must be specified. Only columns beginning with "Allele" will be used to parse the alleles for each sample/marker. Any other size or height columns will be ignored.
143
152
144
153
Output Files
145
154
~~~~~~~~~~~~
@@ -201,16 +210,16 @@ Database Comparison
201
210
202
211
In this mode, inputs are compared against the database samples only, and not among themselves. Outputs will be as described above for sample input(s).
203
212
204
-
The `STRprofiler` App
205
-
=====================
213
+
The ``STRprofiler`` App
214
+
=======================
206
215
207
-
New in v0.2.0 is `strprofiler-app`, a command that launches a Shiny application that allows for user queries against an uploaded or pre-defined database (provided with the `-db` parameter) of STR profiles.
216
+
New in v0.2.0 is ``strprofiler-app``, a CLI command that launches a Shiny application that allows for user queries against an uploaded or pre-defined database (provided with the `-db` parameter) of STR profiles.
208
217
209
218
This application can provide a convenient portal to a group's STR database and can be hosted on standard Shiny servers, Posit Connect instances, or ShinyApps.io.
210
219
211
-
An example of the application can be seen `here <https://hg99x7-jared0andrews.shinyapps.io/strprofiler/>`__.
220
+
An example of the application can be seen `here <https://sj-bakerlab.shinyapps.io/strprofiler/>`__.
212
221
213
-
Deploying an ``strprofiler`` App
222
+
Deploying an ``STRprofiler`` App
214
223
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215
224
216
225
Building an app for deployment to any of the above options is simple.
@@ -258,13 +267,13 @@ You can contribute by creating `issues <https://github.com/j-andrews7/strprofile
258
267
License
259
268
=======
260
269
261
-
**strprofiler** is released on the MIT license. You are free to use, modify, or redistribute it in almost any way, provided you state changes to the code, disclose the source, and use the same license. It is released with zero warranty for any purpose and I retain no liability for its use. `Read the full license <https://github.com/j-andrews7/strprofiler/blob/master/LICENSE>`_ for additional details.
270
+
**STRprofiler** is released on the MIT license. You are free to use, modify, or redistribute it in almost any way, provided you state changes to the code, disclose the source, and use the same license. It is released with zero warranty for any purpose and I retain no liability for its use. `Read the full license <https://github.com/j-andrews7/strprofiler/blob/master/LICENSE>`_ for additional details.
262
271
263
272
Reference
264
273
=========
265
274
266
-
If you use **strprofiler** in your research, please cite the following:
267
-
Jared Andrews, Mike Lloyd, & Sam Culley. (2024). j-andrews7/strprofiler: v0.2.0 (v0.2.0). Zenodo. https://doi.org/10.5281/zenodo.7348386
275
+
If you use **STRprofiler** in your research, please cite the following:
276
+
Jared Andrews, Mike Lloyd, & Sam Culley. (2024). j-andrews7/strprofiler: v0.3.0 (v0.3.0). Zenodo. https://doi.org/10.5281/zenodo.7348386
0 commit comments