Replies: 9 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for getting back to me! This example was using Windows 10 through an Ubuntu on Windows terminal. I have resubmitted the job including the tmpdir flag and will update to let you know how it goes! UPDATE: Here is the command that I ran successfully: |
Beta Was this translation helpful? Give feedback.
-
I am getting the same error with pairtools parse. The command is The command completed successfully when I added the |
Beta Was this translation helpful? Give feedback.
-
@conchoecia , @dowenlab sorry for a half-year long reply :) This issue came up again, so I really need to fix it. :-( |
Beta Was this translation helpful? Give feedback.
-
Hi @golobor, in my case, and what I imagine to be the case for many people, Good luck in whatever you decide! |
Beta Was this translation helpful? Give feedback.
-
Hi @conchoecia , oh I see, thank you for the info, it's very helpful!! |
Beta Was this translation helpful? Give feedback.
-
Hi @golobor - Just came back to make another case for using |
Beta Was this translation helpful? Give feedback.
-
ok, fair enough!! I'm leaning now towards using the destination folder, if
specified, otherwise in ./.
…On Wed, 28 Oct 2020 at 17:06, darrin t schultz ***@***.***> wrote:
Hi @golobor <https://github.com/golobor> - Just came back to make another
case for using ./ by default. Just look at what most other major
bioinformatics tools do, genome assemblers, bwa/minimap/samtools,
bedtools... most of these software use ./ to write tmp files. Why would
your tool using ./ lead to unexpected behavior? Usually when people work
in a directory, they do so because they know that there is space there and
they intended to use it in the first place.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG64CU5IC3CTEYEM5FV5XLSNA6O7ANCNFSM4NKNFVDQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the nice discussion. There is a problem with local temporary directory that I personally don't like, it's temporary files that have to be cleaned up manually if the command is forcefully terminated. If you run multiple tests, this might lead to accumulation of temporary files, which can be easily forgotten. Other ideas/thoughts? @Phlya or others? |
Beta Was this translation helpful? Give feedback.
-
Hello. I am trying to run PairTools on some mammalian HiC data. I have aligned the data with bwa and have the bam files ready. The first step (in which ${a} is the bwa alignment output bam file) finishes fine:
samtools view -h ${a} | pairtools parse -c ${Chromosomes} -o ${a}.pairfile
Then, I try the following step:
pairtools sort --nproc 8 -o ${a}.pairs.sorted ${a}.pairfile
Here, I receive an error that the program "cannot write compressed block". So, I added a flag to ensure the input is decompressed:
pairtools sort --cmd-in -o ${a}.pairs.sorted ${a}.pairfile
However, now the script no longer reads the ${a}.pairfile as input and reports that " Error: Got unexpected extra argument (Mutant-Merge.bam.pairfile)".
When I used the same script for the individual replicates before merging, everything worked fine. I merged them by simply concatenating the fastq files for the two replicates together, which I do not believe should affect this step, since the alignment ran fine.
Thank you for any feedback you may have.
Beta Was this translation helpful? Give feedback.
All reactions