outMultimapperOrder in STAR alignment

Dear Galaxy,
This is the first time I have ever posted anything about bioinformatics. I have been a 100% wet guy in a small lab. I never touched linux… I have no workstation to work on anyway. But with Galaxy, I have been able to appreciate some of the amazing aspect of Big Data mostly chIP-Seq & RNA-Seq. Stuff as simple as generating .bigwig for a peak in IGV can easily make my day. It really opens up a new world.
So for all these joys, I owe to you. I can not say enough ‘Thank you’.
I hit many rocks when self-studying with internet resources. For most of them, I can find an answer. This time I have run into a problem, I believe, can be only solved by your guys.
Source of Problem (I believe): -outMultimapperOrder seems not to be realized in galaxy wrapper for STAR.
Problem: biased alignment with multi-mapping reads
Phenomenon: (A test FastqSanger) + A test genome Fasta: as follows
1READ_1_4M
GGCGGGATGGTGAGCAAGGGCGAGGAGCTGTTCACCGGGGTGGTGCCCAT
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
2READ_2_2M
CCACAAGTTCAGCGTGTCCGGCGAGGGCGAGGGCGATGCCACCTACGGCA
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
3READ_3_1M
AGCTGACCCTGAAGTTCATCTGCACCACCGGCAAGCTGCCCGTGCCCTGG
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
4READ_4_1M
AGCTGACCCTGAAGTTCATCTGCACCACCGGCAAGCTGCCCGTGCCCTGG
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
5READ_5_1M
AGCTGACCCTGAAGTTCATCTGCACCACCGGCAAGCTGCCCGTGCCCTGG
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
6READ_6_1M
AGCTGACCCTGAAGTTCATCTGCACCACCGGCAAGCTGCCCGTGCCCTGG
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
7READ_7_1M
AGCTGACC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AGTCCGCCATGCCCGAAGGCTACGTCCAGGAGCGCACCATCTTCTTCAAGGACGACGGCAACTACAAGACCCGCGCCGAGGTGAAGTTCGAGGGCGACACCCTGGTGAACCGCATCGAGCTGAAGGGCATCGACTTCAAGGAGGACGGCAACATCCTGGGGCACAAGCTGGAGTACAACTACAACAGCCACAACGTCTATATCATGGCCGACAAGCAGAAGAACGGCATCAAGGTGAACTTCAAGATCCGCCACAACATCGAGGACGGCAGCGTGCAGCTCGCCGACCACTACCAGCAGAACACCCCCATCGGCGACGGCCCCGTGCTGCTGCCCGACAACCACTACCTGAGCACCCAGTCCAAGCTGAGCAAAGACCCCAACGAGAAGCGCGATCACATGGTCCTGCTGGAGTTCGTGACCGCCGCCGGGATCACTCTCGGCATGGACGAGCTGTACAAG

Result with STAR:
STAR for some reason unknown to me, pick ‘chr5’ as its primary alignment for all the reads.
I changed the order of chr5 to 3rd place, still the same.

1READ_1_4M 256 chr1 1 0 50M * 0 0 GGCGGGATGGTGAGCAAGGGCGAGGAGCTGTTCACCGGGGTGGTGCCCAT FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NH:i:11 HI:i:11 AS:i:49 nM:i:0 NM:i:0 MD:Z:50 jM:B:c,-1 jI:B:i,-1
9READ_9_4M 256 chr1 1 0 50M * 0 0 GGCGGGATGGTGAGCAAGGGCGAGGAGCTGTTCACCGGGGTGGTGCCCAT FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NH:i:11 HI:i:11 AS:i:49 nM:i:0 NM:i:0 MD:Z:50 jM:B:c,-1 jI:B:i,-1
10READ_10_4M 256 chr1 1 0 50M * 0 0 GGCGGGATGGTGAGCAAGGGCGAGGAGCTGTTCACCGGGGTGGTGCCCAT FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NH:i:11 HI:i:11 AS:i:49 nM:i:0 NM:i:0 MD:Z:50 jM:B:c,-1 j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H:i:1 HI:i:1 AS:i:49 nM:i:0 NM:i:0 MD:Z:50 jM:B:c,-1 jI:B:i,-1
12READ_12_0M 4 * 0 0 * * 0 0 ATAGTTAGAGGTCTCTAGTGTACCGGTCATGTCCGGTCTGGAGACCCATT

If I force the output to one alignment each read, then only the above “primary alignments” will be output.

I looked at STAR manual and Bowtie2 manual. I believe the above phenomenon is related to ‘random vs deterministic’ .

I tried similar stuff with Bowtie2 on galaxy. Bowtie2 picks different chromosome as primary alignment for different reads even without the “–not deterministic” option.(which is different from STAR result shown here)

As you can see, in genome, we have gene families, pseudogenes, and transposons with thousands of copies. The behavior of STAR galaxy wrapper as shown above will cause dramatic bias. I want to actually use the STAR “-outMultimapperOrder random” for Transposon transcription analysis etc…for my projects (I understand. for RNA-Seq, including -M / fraction in featureCounts could be another bypass, but Random is still preferred based on my reading). Plus I also need to perform ChIP-seq analysis with transposons. I don’t know a way featureCounts can facilitate the Peakcalling process. So seems Random is the answer to all my problems. Correct me if I am wrong.

I have one question and one request.
Question: how does STAR decide which read to pick as primary alignment by default? (Eg, bowtie2 claims this is function of the read name+read sequence+read quality + seed). Does star not use read name to decide the primary (all reads are picking the same chromosome as primary hit)?

If what I describe above is true. Will it be possible galaxy can kindly add the “-outMultimapperOrder” Random option, PLEASE ?

@ jennaj

Sorry, I don’t exactly know how this “galaxy help” works. Jen, I saw your responses to questions at Biostar…
I see no response, I apologize if I am disturbing you.

Hi @Lidong

This forum exists for questions, so no bother. I do think it was a bit difficult for the community here to answer, mostly because they might have thought this was part of a prior conversation. Next time, consider including a share link to a history and referencing datasets from that in your discussion/question.

Anyway, I’m glad I found your post while doing some post-summer cleanup here :rocket:

For your questions, the forum here will probably be interesting: https://groups.google.com/g/rna-star/search?q=outMultimapperOrder

Tool Requests

…change a tool, modify a tool, or request a new tool…

  1. Find the existing tool at the Galaxy server where you are working, load up the tool form, click into the “Options” menu in the upper right corner and then use the link to the exact ToolShed repository associated with that tool/version.
  1. The ToolShed repository will include a link to the development repository for that tool.

  2. Make a request with an issue ticket against the tool’s development repository.

    For your case, the request is about adding a new command-line option to the wrapper. The wrapper is effectively using the default right now: --outMultimapperOrder Old_2.4

  3. If you want to help out with the changes as a community contributor (scientific or technical), please reach out to the Tools working group for coordination Galaxy Working Groups and Projects - Galaxy Community Hub.

  4. For reference, brand new tool wrapper requests are mostly the same. Check to see what is already available, then create a request with the IUC GitHub - galaxyproject/tools-iuc: Tool Shed repositories maintained by the Intergalactic Utilities Commission or start up your own dev project. The Tools wg can help with best practises and related support/collaboration.


Development tutorials