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.

Add short example of using jc with NGS?

See original GitHub issue

Open an issue to discuss the new feature, bug fix, or parser before opening a pull request.

I would like to add a short example of using jc with NGS (to the main readme). That would be related and just after the Python example. Something like this (plus some explanation):

echo(``jc dig example.com``[0].answer)

Would this be OK?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ilyash-bcommented, May 20, 2022

Let me know if you would like any changes:

“WIKI article” should be “wiki page”, I think “page” is much more commonly used in the context of “wiki”. https://en.wikipedia.org/wiki/Wiki

This allows direct assignment of a JSON value to a variable in a single line of code.

Maybe something like: This allows running jc, parsing the output JSON and assigning the resulting data structure to a variable in a single line of code.

blog post

Nice!

Watch out though because it might go out of sync with the wiki page (after it’s edited).

1reaction
kellyjonbrazilcommented, May 18, 2022

This seems to work fine, though:

% cat ngs-test.ngs 
#!/usr/bin/env ngs

myvar = ``jc dig www.google.com``[0].answer[0].data
echo(myvar)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Best practices for variant calling in clinical sequencing
Accurate variant calling in NGS data is a critical step upon which virtually all downstream analysis and interpretation processes rely.
Read more >
Library construction for next-generation sequencing - NCBI - NIH
For example, NGS library preparation has now been successfully demonstrated for sequencing RNA and DNA from single cells (3–11). Fundamental to ...
Read more >
Making the Most of Your NGS Data: Understanding Metrics for ...
Sequencing metrics such as depth of coverage, on-target rate, GC-bias, Fold-80 base penalty, and duplication rates provide important information about the ...
Read more >
Next generation sequencing technology: Advances and ...
In this chapter we review the technical background of the different commercially available NGS platforms with respect to template generation and the sequencing ......
Read more >
Next-Generation Sequencing
end sequencing) using a second primer to the newly syn- thesized DNA strand. PacBio Sequencing ... each sample can be barcoded by adding...
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