Repository navigation
Analyse option
analyse allow users to generate secondary reports without having to generate the main report again, saving time.
-i --input
Any kind of main report from TAPES either txt (tab separated) or csv (comma separated) file.
-o --output
Will output a txt (tab separated) or csv (comma separated) file containing the desired report
python tapes.py analyse -i /path/to/main_report.csv -o /path/to/new_report.csv --by_gene
python tapes.py analyze -i /path/to/main_report.csv -o /path/to/new_report.txt --by_sample
python tapes.py analyse -i /path/to/main_report.txt -o /path/to/new_report.txt --enrichr GO_Molecular_Function_2018
analyse will only work with one report/option at a time. For example:
python tapes.py analyse -i /path/to/main_report.csv -o /path/to/new_report.csv --by_gene --by_sample will not work.
See the entire details of options at the sort function page.
--by_gene--by_sample-
--listand--kegg --enrichr--disease
Filtering options such as --disease, --list and --kegg will output a file with a similar format to the main report. The output file will only keep genes passing a filter.
This means that those can be used with other options such as --by_gene or --by_sample.
For example:
python tapes.py analyse -i ./main_report.txt -o ./only_cancer_genes.txt --disease cancer
then
python tapes.py analyse -i ./only_cancer_genes.txt -o ./cancer_sample.txt --by_sample
Will give, for each sample, the 5 most pathogenic variant only in genes that are involved in cancer pathways.