How to use Adapter_trim
1
0
Entering edit mode
9.3 years ago

I want to use mirTools 2.0, but it needs to clean my data. My data is .sra file. It should be cleaned by Adapter_trim that is available on mirTools 2.0 site, but I don't know how to use Adapter_trim

Is there anyone that who could help me?

next-gen RNA-Seq • 2.0k views
ADD COMMENT
0
Entering edit mode
9.3 years ago

Well, the documentation states that it needs reads in fastq format, so use fastq-dump to convert the SRA file to fastq.

ADD COMMENT
0
Entering edit mode

That cleaning was lightning fast! I click on edit and it is already cleaned!

ADD REPLY
0
Entering edit mode

Actually, I converted my .sra data to fastq format by fastq-dump. Then I followed the instruction of Adapter_trim but it's not generating any file. I don't know where to save the new file or it rewrites my file.

ADD REPLY
1
Entering edit mode

Show the command that you used.

ADD REPLY
0
Entering edit mode
perl Adapter_trim.pl -i SRR1608481.fastq -n "sample1" -f 2 >outputfile
ADD REPLY
1
Entering edit mode

.fastaq or .fastq? Also, format might be Illumina 1.3+, might wanna check on that.

ADD REPLY
0
Entering edit mode

Sorry, misspelling that was .fastq

I will check that

ADD REPLY
1
Entering edit mode
ADD REPLY
0
Entering edit mode

How can I find out the fastaq format is in Illumina 1.0 or 1.3+?

ADD REPLY
1
Entering edit mode

Check out my comment above with the link to the guess encoding script

ADD REPLY
0
Entering edit mode

Sorry, I've never used GitHub. How can I use your code?

ADD REPLY
1
Entering edit mode

It's not my code, it's brentp's :)

Anyway, for the short term, save this file to your machine as guess-encoding.py: https://raw.githubusercontent.com/brentp/bio-playground/master/reads-utils/guess-encoding.py

For the long term, try and explore GitHub - git is the most wonderful system for version control

ADD REPLY
0
Entering edit mode

Use the fastq file, not the sra file.

ADD REPLY

Login before adding your answer.

Traffic: 2710 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6