Skip to content

Running scADT-seq data only #5

@dy-lin

Description

@dy-lin

I'm trying to run the asap_to_kite_v2.py script on scADT-seq data only. After running bcl2fastq, I only have read1 and read2, but see references to a read3 in the code that is causing me some errors. Is this read3 error because I only have scADT-seq data instead of ASAP-seq? How can I adapt the code for TotalSeqA in asap_to_kite_v1 function?

listRead1 = trio[0]; listRead2 = trio[1]; # listRead3 = trio[2]

title1 = listRead1[0]; sequence1 = listRead1[1]; quality1 = listRead1[2]
title2 = listRead2[0]; sequence2 = listRead2[1]; quality2 = listRead2[2]
# title3 = listRead3[0]; sequence3 = listRead3[1]; quality3 = listRead3[2]

# Recombine attributes based on conjugation logic
if(conjugation == "TotalSeqA"):
    new_sequence1 = sequence2 + sequence1[0:10]
    # new_sequence2 = sequence3
    
    new_quality1 = quality2 + quality1[0:10]
    # new_quality2 = quality 3

out_fq1 = formatRead(title1, new_sequence1, new_quality1)
out_fq2 = formatRead(title2, new_sequence2, new_quality2)

If I comment out all references to a read3, there is the issue with out_fq2 requiring new_sequence2 which typically includes the use of a read3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions