question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clearer error for I (inosine), or automatically treat it as N?

See original GitHub issue

Attempting to call cutadapt v3.4 with a primer sequence containing “I” fails with:

Run "cutadapt --help" to see command-line options.
See https://cutadapt.readthedocs.io/ for full documentation.

cutadapt: error: Character 'I' in adapter sequence 'GYRGGGACGAAAGTCYYTGCI' is not a valid IUPAC code. Use only characters ABCDGHKMNRSTUVWXY

Inosine is found naturally at the wobble position of tRNA, and can match any base. Structurally similar to guanine (G), it preferentially binds cytosine ©. It sometimes used in primer design (Ben-Dov et al., 2006 https://doi.org/10.1128/aem.00849-06 ), where degeneracy N would give similar results.

In my own work I have mapped “I” to “N” when calling cutadapt with such a primer, and wondered if it would make sense to add .replace("I", "N") to cutadapt, or at least fail with a hint in this special case?, e.g.

Run "cutadapt --help" to see command-line options.
See https://cutadapt.readthedocs.io/ for full documentation.

cutadapt: error: Character 'I' in adapter sequence 'GYRGGGACGAAAGTCYYTGCI' is not a valid IUPAC code. For inosine consider using N instead.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marcelmcommented, Jun 30, 2022

Ah, good find! So I guess that indeed means that at least one other person wants to use I for inosine.

1reaction
peterjccommented, Dec 7, 2021

@TatyanaVl is the error message unclear?

Try using ‘CTCCTACGGGNGGCAGCAG’ with an ‘N’ instead of ‘CTCCTACGGGIGGCAGCAG’ with an ‘I’.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metabolomic studies in the inborn error of metabolism ... - NCBI
Alkaptonuria (AKU) is an inherited disorder of tyrosine metabolism caused by lack of active enzyme homogentisate 1,2-dioxygenase (HGD).
Read more >
CLIP and complementary methods - Nature
CLIP uses a limited RNase treatment of cross-linked RNPs to isolate RNA ... in liquid nitrogen to a fine powder and cross-linked on...
Read more >
IJMS | Free Full-Text | Modulation of Insulin Resistance ... - MDPI
Oxidative/nitrosative stress due to enhanced reactive oxygen and nitrogen species (RONS) ... Antibiotic treated HFD fed mice displayed reduced inflammation, ...
Read more >
Sequencing Methods Review | Illumina
Deep sequencing of the cDNA of control and treated RNA provides high-resolution reads of inosines in RNA fragments. Pros. Cons. • Mapping of...
Read more >
US20210340529A1 - Single-stranded rna-editing oligonucleotides ...
Examples of RNA editing are adenosine (A) to inosine (I) conversions and ... for sequence specific recognition by the N-domain-deaminase fusion protein.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found