Hi San,
I'll gladly share the info: in this run I had 2 groups: the control one had 4 samples and the affected one 3 samples. Regarding the commands, I'll write them down below:
1) ##Convert gff3 text file to annotation database
majiq-v3 gff3 path_to_annot_file/Homo_sapiens.GRCh38.112.gff3.gz path_to_majiq_folder/majiq_build/annotations/sg.zarr
##Convert bam files into splicejunction databases (this command is in a for loop for all bams, but i'll write just the majiq command)
majiq-v3 sj path_to_bams/${f}.bam path_to_majiq_folder/majiq_build/annotations/sg.zarr path_to_majiq_folder/majiq_build/sj/${f}.sj
2) ##Build command
majiq-v3 build -j 4 --min-experiments 0.5 --simplify path_to_majiq_folder/majiq_build/annotations/sg.zarr path_to_majiq_folder/majiq_build/build/sg.zarr --groups-tsv config.tsv
3) #Quantify commands:
##BD
majiq-v3 psi-coverage path_to_majiq_folder/majiq_build/build/sg.zarr path_to_majiq_folder/majiq_build/psi/BD.psicov path_to_majiq_folder/majiq_build/sj/BD_1.sj path_to_majiq_folder/majiq_build/sj/BD_2.sj path_to_majiq_folder/majiq_build/sj/BD_3.sj
##CTL
majiq-v3 psi-coverage path_to_majiq_folder/majiq_build/build/sg.zarr path_to_majiq_folder/majiq_build/psi/CTL.psicov path_to_majiq_folder/majiq_build/sj/CTL_1.sj path_to_majiq_folder/majiq_build/sj/CTL_2.sj path_to_majiq_folder/majiq_build/sj/CTL_3.sj path_to_majiq_folder/majiq_build/sj/CTL_4.sj
4) #Moccasin (The model matrix just has the samples names and as covariate the gender and an intercept column filled with 1's)
majiq-v3 moccasin-pipeline path_to_majiq_folder/majiq_build/build_after_moccasin path_to_majiq_folder/majiq_build/psi/BD.psicov path_to_majiq_folder/majiq_v3_test/majiq_build/psi/CTL.psicov --factors-tsv path_to_majiq_folder/model_matrix_majiq_test_v3_plus_intercept.tsv --confounding gender --overwrite
5) #Heterogen
majiq-v3 heterogen --stats mannwhitneyu --splicegraph path_to_majiq_folder/majiq_build/build/sg.zarr --output-voila path_to_majiq_folder/majiq_build/heterogen/BD-CTL.heterogen.voila --output-tsv path_to_majiq_folder/majiq_build/heterogen/BD-CTL.heterogen.tsv -psi1 path_to_majiq_folder/majiq_build/psi/BD.psicov -psi2 path_to_majiq_folder/majiq_build/psi/CTL.psicov
6) #Voila commands:
##BD
majiq-v3 sg-coverage path_to_majiq_folder/majiq_build/build/sg.zarr path_to_majiq_folder/majiq_build/build/BD.sgc path_to_majiq_folder/majiq_build/sj/BD_1.sj path_to_majiq_folder/majiq_build/sj/BD_2.sj path_to_majiq_folder/majiq_build/sj/BD_3.sj
##CTL
majiq-v3 sg-coverage path_to_majiq_folder/majiq_build/build/sg.zarr path_to_majiq_folder/majiq_build/build/CTL.sgc path_to_majiq_folder/majiq_build/sj/CTL_1.sj path_to_majiq_folder/majiq_build/sj/CTL_2.sj path_to_majiq_folder/majiq_build/sj/CTL_3.sj path_to_majiq_folder/majiq_build/sj/CTL_4.sj
7) #View
voila view -p 5000 -j 4 path_to_majiq_folder/majiq_build/build/sg.zarr path_to_majiq_folder/majiq_build/build/BD.sgc path_to_majiq_folder/majiq_build/build/CTL.sgc path_to_majiq_folder/majiq_build/heterogen/BD-CTL.heterogen.voila
This are all the steps I have run. If something is unclear or you need more info, just let me know.
Thanks in advance!
Miriam