-
Notifications
You must be signed in to change notification settings - Fork 61
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
valid read pairs is too few compared with other tools #340
Comments
Hi, The number of reads that you get with any pipeline depends on several factors but mainly on two: the mismatch you allow in the mapping of the reads and the filters you applied to the mapped reads. Regards David |
Thank you for your reply, David. I will try other mappers like bowtie2 and hisat2 . I don't know clearly how to use bowtie2 into the TADbit pipeline . Is it just mapping Hi-C reads with bowtie2 and parse the bam file with parse_map function or not ? |
You can use the same code that you already have but specify another mapper in the full_mapper function (like mapper='bowtie2'). Be sure you input the right mapper_index_path because for bowtie2 is not a single file, you have to specify the path and the prefix to the index. http://3dgenomes.github.io/TADbit/reference/reference_mapping.html#mapping You can also customize bowtie2 parameters with the mapper_params parameter if you need. After that the parse is exactly the same. Regards David |
Thanks a lot , David. |
Hi, I want to use TADbit to detect TADs, the TADbit detect 25,521,413 valid read pairs only ,but other tools such as HiCExplorer could detect 58949201 read pairs using the same data, I think maybe my code has some problem, could you give me some advise? I ues GEM as mapper and here is my code, thank you very much:
from pytadbit.mapping.full_mapper import full_mapping
species = 'soybean'
for the first side of the reads
full_mapping(mapper_index_path='NN1138-2.v1.0.genome.gem',
out_map_dir='results/fragment/{0}/01_mapping/mapped_{0}_r1/'.format(species),
fastq_path='soybean_R1.fastq.gz',
r_enz='MboI', frag_map=True, clean=True, nthreads=8,
temp_dir='results/fragment/{0}/01_mapping/mapped_r1_tmp/'.format(species))
The text was updated successfully, but these errors were encountered: