Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Junction annotation questions #149

Open
yanwang271 opened this issue Aug 3, 2021 · 2 comments
Open

Junction annotation questions #149

yanwang271 opened this issue Aug 3, 2021 · 2 comments

Comments

@yanwang271
Copy link

Hi,

I was using regtools junction annotation to annotate a junction bed file of junction extract output. I found most of the known junctions in GTF file were labeled as "unknown". The junction file was extracted from STAR aligned BAM file and the GTF file was ensemble38.98.

The code I was using is
regtools junction extract -a 6 -s 2 sample.bam | regtools junctions annotate -o sample.junc.bed - ref.fa ref.gtf

Could you help me with this?

Regards,
Yan

@kcotto
Copy link
Contributor

kcotto commented Oct 5, 2021

It sounds like this may be an issue with the strand option you chose. Have you tried running it with -s 1 and seeing if that resolves your issue. Alternatively, if your BAM file has XS tags in it denoting strandedness, you probably want to use the -s 0 option.

@capricy
Copy link

capricy commented Jun 24, 2022

Hi Support Team,

I have similar issue. Do you mean: if I use unstranded mode (-s 0) during the extract step, I will have all the junctions as novel?

Thanks a lot.

C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants