Skip to content

How to retrieve back Sequence ID from the successful aligned .vdjca file? #1031

Answered by mizraelson
ShaowenJ asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Yes, it is possible to export both read Id and a description from the original FASTQ file(to do that you have to add a parameter in mixcr align):

mixcr align \
    --species hsa \
    -OsaveOriginalReads= true \
   .
   .
   .

Then in mixcr exportAlignments you can add columns with the reads description from the original fastq file and read Ids:

mixcr exportAlignments \ 
    -descrsR1 \
    -descrsR2 \
    -readIds \
   .
   .
   .

-descrR1 and -descrR2 add fastq original headers for every read, while -readIds adds a unique ID number assigned by MiXCR. For read Id there is no need to save original reads but you can't easily backtrack alignments to the original reads by that id.

Also…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ShaowenJ
Comment options

@ShaowenJ
Comment options

@mizraelson
Comment options

@ShaowenJ
Comment options

@mizraelson
Comment options

Answer selected by PoslavskySV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1030 on March 09, 2023 17:46.