Giter Club home page Giter Club logo

Comments (3)

0x55555555 avatar 0x55555555 commented on June 8, 2024 1

Hi @Kirk3gaard ,

Thanks for this, we will take a look internally now!

  • George

from pod5-file-format.

Kirk3gaard avatar Kirk3gaard commented on June 8, 2024

Temporary fix using R on the summary file from "pod5 inspect reads"

R code

# Load library
library(tidyverse)
# load summary file from pod5 inspect reads
data<-read_csv("summary.csv",skip = 1)
# Create a column with filenames based on sequencing channel and 
# write a csv file with columns for filenames and read_id
data %>%
  mutate(filename=paste0("pod5_out_ch_",channel,".pod5")) %>%
  arrange(channel) %>%
  select(filename,read_id) %>%
  write_csv(file = "file_for_sorting_by_channel.csv",col_names = F)

Pod5 subset command

pod5 subset pod5_original/*pod5 --output channel_subset/ --csv file_for_sorting_by_channel.csv

from pod5-file-format.

HalfPhoton avatar HalfPhoton commented on June 8, 2024

Hi @Kirk3gaard

We've updated the documentation around pod5 subset which hopefully incorporates your suggestions. We've specifically added the following section:

https://pod5-file-format.readthedocs.io/en/0.1.11/docs/tools.html#example-subsetting-from-pod5-inspect-reads

Furthermore, pod5 subset will now accept csv or tsv inputs for --summary / --table saving you the csv -> tsv step.

Thank you very much for raising this ticket and bringing this to our attention.

Kind regards,
Rich

from pod5-file-format.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.