I ran into a problem when I used the alignerOptions for STAR
If I need to run twopassMode with: bamRemoveDuplicatesType UniqueIdentical this will according to the manual only work with outSAMtypy BAM SortedByCoordinate. STAR MANUAL
If I supply:
alignerOptions "--twopassMode --sjdbOverhang 100 --outSAMtype BAM SortedByCoordinate --outSAMunmapped Within --bamRemoveDuplicatesType UniqueIdentical"
I will run into two problems:
-
hardcoded alignerOptions in your code:
--sjdbOverhang 100
--outSAMunmapped Within
--outSAMtype BAM Unsorted
--outStd BAM_Unsorted \
-
your approach to use samtools for sorting
My aligner options contradict your hard coded outSAMtype BAM Unsorted.
Furhtermore: the code does not check for duplicate aligner Options (STAR however does so and fails) and unifies them. You could supply the hardcoded values in the manual, so that people know.
Thanks for the great tool.
Kind Regards
Nicholas
I ran into a problem when I used the alignerOptions for STAR
If I need to run
twopassModewith:bamRemoveDuplicatesType UniqueIdenticalthis will according to the manual only work withoutSAMtypy BAM SortedByCoordinate. STAR MANUALIf I supply:
alignerOptions "--twopassMode --sjdbOverhang 100 --outSAMtype BAM SortedByCoordinate --outSAMunmapped Within --bamRemoveDuplicatesType UniqueIdentical"I will run into two problems:
hardcoded alignerOptions in your code:
--sjdbOverhang 100
--outSAMunmapped Within
--outSAMtype BAM Unsorted
--outStd BAM_Unsorted \
your approach to use samtools for sorting
My aligner options contradict your hard coded
outSAMtype BAM Unsorted.Furhtermore: the code does not check for duplicate aligner Options (STAR however does so and fails) and unifies them. You could supply the hardcoded values in the manual, so that people know.
Thanks for the great tool.
Kind Regards
Nicholas