A short script to use the nontarget pattern.match function to print useful information about clusters.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1015 B

3 years ago
  1. # Specifications for the script
  2. **Use the Nontarget**
  3. - Clusters should have large enough number of fragments (3+ maybe)
  4. - nontarget has a pattern match function.
  5. - Check for chlorinated compounds (has n+2, n+4, ...)
  6. - GPL License (good)
  7. - Script to get output for all of the results
  8. - tabbed-deliminated text file
  9. - Which clusters contain chlorinated compounds, how many fragments, what other
  10. isotopes.
  11. ## format
  12. - Readable by R.
  13. - Manipulatable by Tidyverse
  14. - Include it in script?
  15. # Additional Notes
  16. - Independent of the ordering (it might get corrupted)
  17. - Just search for chlorinated/brominated compounds.
  18. - usually, use_charges will be 1
  19. - Headers to use in script.
  20. - Packages to do things in parallel (multiple threads)
  21. - be able to configure the number of cores or threads used.
  22. - make it a requirement to be tab-deliminated.
  23. - eliminate clusters with only m/z.
  24. # Notes
  25. - cutint represents high enough intensity.
  26. - mztol is in terms of ppm.
  27. - mzfrac is in terms of absolute.
  28. - PPM = true always