Skip to content
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

Read Subsampling tool error #5

Open
sadikmu opened this issue Mar 27, 2020 · 3 comments
Open

Read Subsampling tool error #5

sadikmu opened this issue Mar 27, 2020 · 3 comments

Comments

@sadikmu
Copy link

sadikmu commented Mar 27, 2020

Hello,
Could you please help me out?

I am getting the following error message after running Read Sampling Tool and tried with different options (-T lr, -Tlr 0.2, -T l, -T r, with and with out scraps.txt) but the error messages throwing are the same.

subreads.txt and scrabs.txt files generated using

find $(pwd) -name "*subreads.bam" > subreads.txt
find $(pwd) -name "*scraps.bam" > scraps.txt

SequelTools.sh run as

SequelTools.sh -t S -u subreads.txt -c scraps.txt -T lr

Error message:

Beginning read subsampling function by chosen criteria:
longest subreads and random subsampling
Running in NO_SCRAPS mode
view: invalid option -- '-'
view: invalid option -- 'O'
[main_samview] fail to open "1" for reading.
`ERROR: BAM to SAM data conversion failed!``

@aseetharam
Copy link
Collaborator

Hi Sadik,
Thanks for trying SequelTools!
I don't see anything wrong with the command you ran, so I'm suspecitng something off with the scraps.txt/subreads.txt files. Can you paste the contents for those files?

Thanks,

@sadikmu
Copy link
Author

sadikmu commented Mar 27, 2020

Hi Arun,

scraps.txt/subreads.txt are captured fofn and here is the content

/home/raw_data/file.scraps.bam
/home/raw_data/file.subreads.bam

Best

@DavidEHufnagel
Copy link
Collaborator

DavidEHufnagel commented Mar 31, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants