-
Notifications
You must be signed in to change notification settings - Fork 9
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
Got negative values on weighted histogram plot #73
Comments
I am very confused and will need to think about this. |
I filtered my dataset with FiltLong before running NanoComp and getting the weird result. In the meantime, I figured out how to do what I wanted by running this:
I was interested in knowing what percent of the total bases my full length sequence was. So I wanted to divide the 26kb bases by the total number of bases, but wanted to also keep out the weird long stuff from the dataset, hence filtering with FiltLong. |
Does the plot without weighted look normal? I will explain later what those mean when I'm at the computer... |
Yes, the others look normal. Only the two weighted plots have negative values. |
So normalized plots mean that every dataset in the plot adds up to "1" - so datasets with significant differences in yield can still be compared on length. Without normalization, just the number of reads is used. |
Do you think it would be possible to share the data that caused this? |
So I haven't been able to replicate this. Please let me know if someone runs into a similar issue. |
Hello,
I am using NanoComp v1.23.1 and got a weird plot after filtering my input fastq files (see attached image).

When I did the same command on input fastq which were not filtered, I got normal plots. But after filtering my fastq files to only keep 1-27kb reads, I now get negative values in the weighted plots. Is this "normal"?
Can you also explain the difference between weighted and normalized?
best,
S
The text was updated successfully, but these errors were encountered: