Hi Vanessa,
Yes, you need sequences of the same length. The pipeline is trying to
identify the same SNPs consistently across individuals in your set of
populations. If you have variable length reads, you will simply add a
lot of poorly covered SNP calls and higher error rates associated with them.
If you received quality trimmed reads from your sequencing core, you
should ask for the original, unmodified files.
Otherwise, you can specify a final length of the reads to the
process_radtags program, which will trim reads to that length and
discard reads already shorter than that length.
Best,
julian
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>
> wrapper is
> picking that up and halting ("Catalog construction failed").
> You should
> look at the denovo_map.log file to see what the error is.
> Make sure you
> are specifying the input and output paths correctly.
>
> But, you will need to trim and and reprocess your files for
> ustacks
> first, the error may have been caused by ustacks outputting
> bad data
> when the lengths of reads were different in a single
> individual.
>
> Best,
>
> julian
>
>
bander...@gmail.com wrote:
> > Hi all,
> >
> > I have been able to get Stacks to run through my dataset,
> but only by
> > doing part with the wrapper (
denovo_map.pl
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>)
> and then the rest manually
> > due to a problem building the catalogue. Here is my
> command to execute
> > the wrapper:
> >
> > names=`cut -f 2 $BARCODE_FILE`
> > list=""
> > for sample in $names
> > do
> > list+="-s ./samples/${sample}.fq.gz ";
> > done
> > aprun -n 1 -d 20
denovo_map.pl
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>
> -T 20 -S -m 5 -b 1 -n 2 -t -o ./stacks $list
> >
> > The aprun is to launch the job onto a supercomputer
> (where Stacks is
> > compiled and
denovo_map.pl
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>
> is in the path).
> > The job runs ustacks fine (a few warnings due to length
> differences... I
> > will have to re-process samples and trim), but dies when
> trying to build
> > the catalogue. If I run cstacks manually on the output
> from ustacks
> > produced using
denovo_map.pl
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>,
> I can build the catalogue. I'm wondering
> > if an extra whitespace is the problem. Here is the end of
> the command
> >
denovo_map.pl
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__denovo-5Fmap.pl&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=N0wdtZ5sUHkfgXbICGdh5f7HtI0jmecJv_YEfmR22yg&e=>
> gave to cstacks:
> >
> > ... -s ./stacks/Tw-Pyr21 -s ./stacks/Tw-YFlat06 -s
> ./stacks/Tw-MtRob32
> > -s ./stacks/Tw-Rocklea26 -s ./stacks/Tw-Weeli03 -p 20 -n
> 2 2>&1
> > Catalog construction failed.
> >
> > There is an extra space between the last sample and "-p
> 20". I don't
> > know if this is causing the catalog construction failure.
> When I execute
> > it by hand I put the list of samples at the end of the
> command, and it
> > works.
> >
> > Any thoughts?
> >
> > Cheers,
> >
> > Ben
>
> --
> Stacks website:
http://catchenlab.life.illinois.edu/stacks/
> ---
> You received this message because you are subscribed to the Google
> Groups "Stacks" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
stacks-users...@googlegroups.com
> <mailto:
stacks-users...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/stacks-users
> <
https://urldefense.proofpoint.com/v2/url?u=http-3A__groups.google.com_group_stacks-2Dusers&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=mcoy6UMtvGsqHYvM29uhnP_TlehmfbQqYeLoui2waTQ&e=>.
> For more options, visit
https://groups.google.com/d/optout
> <
https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=OHZyL_ubmcwYRt0ZxWvKbXVTs6ZOE0LSReUhnCKkaMk&m=iWCuZpVNhPrEmsanrsi2wsr5da_qgJM13q9-ZBzeVqc&s=FhriRooi5TsTBDrqMuQZgzcNjmG7rdZttuQ-Vian3Ls&e=>.
--
Julian M Catchen, Ph.D.
Assistant Professor
Department of Animal Biology
University of Illinois, Urbana-Champaign
--
jcat...@illinois.edu; @jcatchen