Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Tile comparison in clumpify #36

Open
isinaltinkaya opened this issue Mar 13, 2021 · 0 comments
Open

Tile comparison in clumpify #36

isinaltinkaya opened this issue Mar 13, 2021 · 0 comments

Comments

@isinaltinkaya
Copy link

isinaltinkaya commented Mar 13, 2021

Hi,

I have some questions regarding this code to make sure I understood it correctly.

For a given read with QNAME xxx:yyy:zz:6:1205:5221:72504, following the naming conventions for NovaSeq 6000: lane=6, surface=1,swath=2,tile=05,x=522,y=72504
I think you use 1205 as 'tile' in your code. Is this correct?

If so, for another read with QNAME ..:6:1305:5000:5000, you would then define tile as 1305. When you use

double d=Tools.absdif((double)a[i], (double)b[i]);
, since you don't use absDif from ClusterTools (
static final float absDif(float[] a, float[] b){
) but use absdif from shared tools(
public static int absdif(int a, int b) {
), it would return 100. So if it is on the same tile (05) but different swaths (2,3) it would not continue. Thus it will only treat duplicates from adjacent tiles as cluster duplicates, not from adjacent swaths. Is this correct?

Thank you!

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

No branches or pull requests

1 participant