Open mirachirkova opened 2 months ago
Hi Miroslava,
STAR only uses the read name provided in the first file in the --readFilesIn
option.
Naming the reads differently is against SAM format rules.
If you need to do it, you would have to write a script that will rename after mapping.
Hello! I use STAR to create SAM file from two fasta files. I have tried many combinations of options, however every time output file doesn’t contain QNAMEs from reversed fasta. It seems that this QNAMEs were replaced by paired names from forward fasta.
All names from forward fasta ends with “a” and all names from reversed fasta ends with “b”. That’s example of output I get:![Screenshot from 2024-04-10 14-13-50](https://github.com/alexdobin/STAR/assets/89016831/1c70721d-ded7-46bd-a703-4fa552158c01)
But in the same project, where I get input fasta’s, there is an example of STAR output and it looks like that:![Screenshot from 2024-04-10 14-16-57](https://github.com/alexdobin/STAR/assets/89016831/a6ce6e83-9033-43d5-9031-60dad6dc6c6c)
Could you, please, help me to understand, why do I get results without “b”’s?
My command line:
STAR --runThreadN 64 --genomeDir ${directory with index} --readFilesIn ${forward fasta} ${reverse fasta} --twopassMode Basic --outSAMunmapped Within --limitOutSJcollapsed 1000000 --limitSjdbInsertNsj 1000000 --outFilterMultimapNmax 10 --outFilterMismatchNmax 10 --outFilterMismatchNoverLmax 0.3 --seedSearchStartLmax 50 --alignSJoverhangMin 5 --alignEndsType Local --outFilterMatchNminOverLread 0.66 --outFilterScoreMinOverLread 0.66 --winAnchorMultimapNmax 50 --alignSJDBoverhangMin 3 --outFilterType Normal
I've tried STAR versions 2.7.10a and 2.5.0a and results are the same.
Best wishes, Miroslava